MATLAB Trouble opening files
Afficher commentaires plus anciens
Hello, I'm new to MATLAB and I created a cosine graph , saved it to a couple of files (my memory stick/ on the university network), but when I try to open it again from these files, it doesn't appear to be there. Can anyone offer me guidance? Thank you very much :)
3 commentaires
Ameer Hamza
le 9 Mar 2020
Modifié(e) : Ameer Hamza
le 9 Mar 2020
Did you save it as .fig file?
Isobel Munden
le 10 Mar 2020
Isobel Munden
le 10 Mar 2020
Réponses (1)
Hornett
le 18 Juin 2024
0 votes
To retrieve your cosine graph in MATLAB, you can follow these streamlined instructions based on how you saved your graph:
- If you saved the graph as a .fig file, reopen it in MATLAB with the command openfig('filename.fig');. This allows you to view and interact with the figure as it was.
- In case you saved the plotting commands in a MATLAB script (.m file), simply rerun the script by typing its name into the MATLAB Command Window, like yourScriptName;. This will regenerate your graph.
- If the graph was exported as an image (e.g., .jpg, .png) or a PDF, you won't be able to edit it in MATLAB but can view it using any standard image viewer or PDF reader software.
Remember to check that you're searching in the right location where you saved your files, and ensure any external drives or network locations are accessible before trying to open your files.
Catégories
En savoir plus sur Printing and Saving dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!