Can an APP access the calling functions workspace?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
If I execute an APP can it access the workspace of a function I am debugging?
I am trying to write an APP that will plot my custom data types while debugging within a function. As a function my plotting tool can access the callers workspace with evalin('caller',...) but when converted to an APP this fails. Using dbstack within the APP I see that the function the breakpoint is within is several levels up from the APPs workspace. Since evalin does not work recursively am I out of luck?
I am trying to make the plotting tool as easy to use as I can so having to declare data in the base workspace or with setappdata is not desirable. (My APP can access the base workspace but data will not always be there.)
I could always run my plotting tool as a function but it would be nice if I did not have to type the function name - clicking on an APP button is easier and does not require remembering the name. There is a reason for APPs after all :-)
Thanks for any help.
Edit: I have learned that I can add functions under Home/Favorites this should get me the functionality I am looking for; but I am still interested in doing this as an APP if there is a solution.
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!