How do I import an old .mat code, open the script and run it?
Show older comments
How do I import an old .mat code, open the script and run it? I am only able to import the variables but not the complete code!
2 Comments
KSSV
on 21 Feb 2017
That case you have to specify the errors.
Jan Oredsson
on 21 Feb 2017
Answers (2)
Jan Oredsson
on 21 Feb 2017
0 votes
1 Comment
Walter Roberson
on 21 Feb 2017
Likely, but not definite. You might happen to have saved anonymous functions in the .mat . In the case of graphics objects, sometimes code is attached to the graphics objects -- though usually any substantial code would be in .m files instead of in graphics objects.
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!