Why is nothing being stored in the "Workspace" after I run my code?

15 次查看(过去 30 天)
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?

采纳的回答

Image Analyst
Image Analyst 2016-3-24
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.

更多回答(1 个)

Stalin Samuel
Stalin Samuel 2016-3-24
Possibly if you run the functions the variables will not stored in work space. Only the returned variables stored .If you not returned any values then nothing will be stored

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by