Info
此问题已关闭。 请重新打开它进行编辑或回答。
retrieve variables from workspace that is being debugged
1 次查看(过去 30 天)
显示 更早的评论
I'm writing some code that is meant to provide information about code I am writing, including when not running (file or base workspace analysis) AND when debugging. This is sort of like the workspace browser in that when debugging, the workspace browser let's you know what variables are defined in your current workspace (and provides that information to you to help write future code). Is it possible to achieve anything similar to the workspace browser programmatically? My "analysis" code would be running periodically via a timer with no obvious connection to the code being debugged.
2 个评论
Geoff Hayes
2016-3-10
Jim - are you suggesting that you would like to have some code read your code (function or script) and (say) list all of the variables in that piece of code?
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!