My matlab .m file not saving not as matlab file.

조회 수: 5 (최근 30일)
Md. Mubarak Hossain
Md. Mubarak Hossain 2017년 4월 15일
댓글: Walter Roberson 2017년 5월 6일
Dear sir, Hope you are in good health with success and happiness. I'm facing a problem that is when I save any matlab file or simulink file then it does not save as like matlab file rather Crome web browser file. For example if I save a file then It save as M file but when it save it shows Crome browser logo not like matlab logo. When I wanna open the saved file then it does not open from MATLAB rather open a new tab in Crome browser ans shows the code.
What should I do to solve the problem?
  댓글 수: 2
Md. Mubarak Hossain
Md. Mubarak Hossain 2017년 5월 6일
편집: Md. Mubarak Hossain 2017년 5월 6일
Dear sir, I've faced another problem. When I save a matlab file the I do not see it in current folder. If I wanna open a new folder in current folder by "New folder" it shows that "Error creating folder" "Could not create the new folder" "You may not have permission"
What should I do? Please could you help me?
Walter Roberson
Walter Roberson 2017년 5월 6일
It sounds as if you are not in the directory you think you are -- or possibly you are attempting to save somewhere under the Program Files directory (such as inside one of the MATLAB installation directories): MS Windows will not allow you to save inside of Program Files unless you are running with administrator permission.

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

채택된 답변

GEEVARGHESE TITUS
GEEVARGHESE TITUS 2017년 4월 15일
You have set chrome as a default type to read the mat file. Please do the following, If matlab is listed
1. Choose the file,
2. Right click your mouse, and choose open with and select matlab and also set it as a the default app.
If not listed,
1. Choose more app and then Look for another app in this PC
2. Go to directory where matlab is installed
3. Go to bin and then select matlab.exe
4. Also set it as default app.

추가 답변 (0개)

카테고리

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