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

Ameer Hamza
Ameer Hamza 2020년 3월 9일
편집: Ameer Hamza 2020년 3월 9일
Did you save it as .fig file?
Isobel Munden
Isobel Munden 2020년 3월 10일
The task we've been given is to save it in different formats to see which is the smallest file size and to see which is the clearest on screen.
Isobel Munden
Isobel Munden 2020년 3월 10일
I've figured out the problem now, thank you!

댓글을 달려면 로그인하십시오.

답변 (1개)

Hornett
Hornett 2024년 6월 18일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

2020년 3월 9일

답변:

2024년 6월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by