Problem opening a Simulink file

8 ビュー (過去 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 Center および File ExchangePrepare 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