MATLAB's Curve Fitting App (previously "tool", hence, cftool
) is a graphical tool for interactive curve fitting1.
The general way of working with this tool is by choosing variables from the workspace:
However, during debugging, data selection is disabled (this is documented):
... which is quite a nuisance, since we must save the data to a file, and either quit debugging or open a new instance of MATLAB before we can load this data again and use it in cftool
.
I would assume that the reason for disabling the inputs is because during debugging we usually have multiple workspaces, and so iterating through them or providing user choice of the workspace is too cumbersome in terms of UX - so the developers decided to disable the inputs until such time that only a single workspace exists.
My question is this: How can we disable the "debugging detection" of cftool
or otherwise specify the workspace that we're interested in, so that we can use cftool
during debugging?