Disabling Data Logging in Simulink

21 ビュー (過去 30 日間)
Fawad Khan
Fawad Khan 2022 年 2 月 8 日
コメント済み: Benjamin Thompson 2022 年 2 月 10 日
I have a simulation on simulink with many to-file and to-workspace blocks in it. However, now I want to run a monte-carlo analysis of 5000 simulation runs where I do not need this data logged. I do not want to modify my model but I want to turn off data logging (to-file and to-workspace blocks). Is there a setModelParam command for this or any other easier way?

回答 (1 件)

Benjamin Thompson
Benjamin Thompson 2022 年 2 月 8 日
In the Model Settings in Simulink, go to the Data Import/Export option and remove the check marks on data that you do not want to log.
  2 件のコメント
Fawad Khan
Fawad Khan 2022 年 2 月 10 日
I just commented out the blocks I didn't want to use. That was pretty simple.
Benjamin Thompson
Benjamin Thompson 2022 年 2 月 10 日
Remember to accept answers if they work for you. Users with a better acceptance rate are more likely to get fast and effective answers to future questions.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSave Run-Time Data from Simulation についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by