Saving and opening Matlab file
Show older comments
Hi. I'm new to matlab. I was trying out how to plot and wanted to save the file for later. I named it 2D_Plot_Example.mat and saved it to a folder on my desktop.
Later i tried opening the file again in editor and everything i wrote is there. Except the plot dosen't show up and the colours isn't there.
(Example: Hold (on), Hold (off), ('r--'), (':'), and so on.
It's like everything is just text and not a code.
Do anyone know what i did wrong? Thanks! :)
4 Comments
the cyclist
on 12 Apr 2020
Can you upload the entire code you used to create the plot and save it? And then the code you used to open the file again, and try to recreate the plot? (Use the paper-clip icon to attache the files.)
Jonas Grov Andersen
on 12 Apr 2020
Jonas Grov Andersen
on 12 Apr 2020
Jonas Grov Andersen
on 12 Apr 2020
Accepted Answer
More Answers (0)
Categories
Find more on Environment and Settings 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!