Deactivate "To Workspace"-block in m-file

조회 수: 4 (최근 30일)
Frank Schmidt43
Frank Schmidt43 2017년 1월 29일
답변: ROHIT UPADHYAY 2017년 2월 1일
Hi,
I have a complex Simulink model with many signals, that I want to save. But I don't need every signal for every simulation. I want to choose which signals/results would be saved in the workspace. I want to deactivate/activate unnecessary signals to speed-up the simulation time. I save all my data with "To Workspace"-blocks, but if there is a better option to choose and save single signals without the unnecessary signals I can change that. It isn't an option to delete and create the "To Workspace"-blocks every time. Thanks for your help.
Regards Frank

답변 (1개)

ROHIT UPADHYAY
ROHIT UPADHYAY 2017년 2월 1일
Hey frank,
What you can do is instead of using "To Workplace" block you can log the signals using the signal logging option in Simulink. That would save the signal values in a structured way with time stamp.
Then using simple m.script you can further process the data per your needs.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by