Problem opening a Simulink file

조회 수: 5 (최근 30일)
Henry Sanchez
Henry Sanchez 2011년 12월 30일
댓글: Teja Golla 2021년 3월 23일
Hello everyone.
I recently installed MATLAB 2011. I had MATLAB 2008 and when I used to open a Simulink file, it automatically opened MATLAB and then Simulink. Actually it used to show as Simulink object (with the icon). I uninstalled 2008 version and installed 2011 version, but this time the .mdl file showns like I had no MATLAB installed. Nevertheless, when I drag the file to MATLAB it totally works. Any of you know how to associate the file and show the Simulink icon in the Windows Explorer?? I have Windows 7.
Thanks a lot.
Henry

채택된 답변

Friedrich
Friedrich 2011년 12월 30일
Hi,
righ-click on the mdl file (in windows) -> choose open with (maybe in addition "choose standard program"). Than search for the matlab.exe (in the bin folder, not bin\winXX) and confirm. At the end of the dialogs there should be a check box telling something like, always open that file with the choosen program. Make sure that checkbox is selcted to store the settings.
  댓글 수: 2
Henry Sanchez
Henry Sanchez 2012년 1월 1일
Thanks a lot man! That issue was driving me insane.. LOL
Teja Golla
Teja Golla 2021년 3월 23일
Thanks you so much man. It used to be a big headache for me, now its gone.

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

추가 답변 (1개)

TAB
TAB 2011년 12월 30일
Currently I dont have access to Windows 7, but probably this may work-
Right Click on File -> Select Open With -> Select Choose Program... -> Browse to Matlab exe and check Always use selected program to open this kind of file. -> Click OK.
Simulink runs on MATLAB. Simulink can not be run seperatley. So opening of Matlab when simulink file is opened is normal.

카테고리

Help CenterFile Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by