trying to open .fig file but an error shows

조회 수: 2 (최근 30일)
Abdulaziz Abutunis
Abdulaziz Abutunis 2020년 10월 9일
댓글: Abdulaziz Abutunis 2020년 10월 10일
Dear Matlab experts
I have 6 figures i have generated before. Now all opens but a one which i belevie I have modified its font recently. the error message is attached. Please help if you have experienced this before.
Thank you
  댓글 수: 6
Walter Roberson
Walter Roberson 2020년 10월 10일
'JFIF' is the signature for a JPEG file. Somehow a JPEG got saved on top of the .fig file.
You will need to recreate the .fig or restore it from backup (if you have it on backup)
Abdulaziz Abutunis
Abdulaziz Abutunis 2020년 10월 10일
Thank you Waler

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

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2020년 10월 9일
Some times, or many times, when you save a .fig file, there is also a .mat file saved for it. You need both files to be able to re-open the figure. I assume you didn't copy the .mat file, or they are lost, or they are over-written? Try an example to see how files are created when you save the .fig file.
  댓글 수: 1
Abdulaziz Abutunis
Abdulaziz Abutunis 2020년 10월 9일
There are other figures generated by the same code run and they are openning. I have never seen a .m file generated accompnying a saved .fig file.
Thank you

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

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by