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 Comments

I am talking about functions, not simple scripts
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

Sign in to comment.

Answers (0)

Products

Asked:

on 12 Mar 2016

Commented:

on 17 Mar 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!