Running scripts does not create variables in the Workspace 2016a
显示 更早的评论
Hello. I'm just starting to use the 2016a Matlab version and the problem is when I run scripts, variables generated by those scripts do not figure in the Workspace.
This problem did not arise using previous versions. What can I do?
2 个评论
Luigi Aridon
2016-3-13
Rakesh Chavan
2016-3-17
Hi,
Usually when MATLAB functions are executed, the variables used in the function file go to the function workspace and not to the base workspace. We can verify this by adding some breakpoint in the function file.
So I am a bit confused when you say you were able to see the variables in functions in prior versions. Can you please provide a sample function file and the variables which you would expect to see in the base workspace. That may help in clarifying the question a bit.
regards
Rakesh
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!