Hi, Out of nowhere most of my Matlab code has changed into unreadable characters. It was fine the last time I saved my file.

조회 수: 9 (최근 30일)
This is how a few characters look like: íþ ð 432130dm ð (screenshot attached for few lines of code). Does anybody know if the file can be converted back to text as it was originally? Any help is appreciated.
  댓글 수: 6

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

채택된 답변

Image Analyst
Image Analyst 2018년 9월 14일
Do you have a version with an .asv extension? If so, you can recover it from that last autosaved version.
  댓글 수: 2
Taruna Yadav
Taruna Yadav 2018년 9월 14일
I couldn't find any .asv files.. so, I guess there is no other way to recover the code.. Thanks for your suggestion.
Image Analyst
Image Analyst 2018년 9월 14일
To avoid future problems, turn on autosaving in the preferences on the Home tab of the tool ribbon:

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2018년 9월 14일
Your code is gone. It has been overwritten with information that has to do with Spotlight metadata queries.
The only part of your code that can be recovered is
clear all;clc;close all
As you appear to be using OS-X, I suggest using TimeMachine to restore the file.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by