MATLAB: Is nothing being stored in the “Workspace” after I run the code

workspace

I have a video processing code, its an ALPR program I am working on. But every time I run the code, none of the usual stuff that is stored in the Workspace of Matlab is getting stored. What could be the cause of this?

Best Answer

You're running a function instead of a script. The variables in the function are local and vanish once you exit the function. If you want to see what their values are, set a breakpoint on the last line of your function, just before it exits.