필터 지우기
필터 지우기

Automatically save simulink to previous version

조회 수: 25 (최근 30일)
Aldo Sebastian
Aldo Sebastian 2019년 8월 31일
댓글: Walter Roberson 2023년 9월 11일
How could I configure MATLAB so that when I press the save icon, it automatically exports to previous version of simulink?

답변 (1개)

Anavi Somani
Anavi Somani 2023년 6월 14일
When saving a model, you can set up MATLAB to automatically export to an earlier version of Simulink by doing the following:
  • Open MATLAB and go to Preferences by clicking on the "Home" tab on the MATLAB toolstrip, then click "Preferences" button at the top.
  • In the "Preferences" dialog box, select "Simulink" from the left-side menu.
  • Click on "Model File" in the "Simulink" section.
  • Under "Model File Settings," locate the "Save default model format" option. Click on the drop-down menu and select the Simulink version that you want to always save your models in.
  • Click "OK" to save the changes.
Now, if you use the save icon to save a Simulink model, it will immediately export to the previously chosen version of Simulink. All models that you save in MATLAB will be affected by this, so take note. You will need to manually change the Simulink version each time you want to save a model in a different version.
  댓글 수: 2
Marco Perin
Marco Perin 2023년 9월 11일
Hi, as far as I can tell, this is not possible in R2023a.
In the `Simulink` tab of `Preferences`, it redirects to simulink preferences via a button `Open Simulink Preferences`.
There, the only submenu that I found was `Model File`, but it did not contain the option you mentioned.
Walter Roberson
Walter Roberson 2023년 9월 11일
I agree with @Marco Perin -- the preferences these days allow me to select slx or mdl for the default for new models, but no option to choose output release.

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

카테고리

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

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by