Disabling Data Logging in Simulink

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일

0 개 추천

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.

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

카테고리

도움말 센터File Exchange에서 Save Run-Time Data from Simulation에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2022년 2월 8일

댓글:

2022년 2월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by