I was analyzing some model a while ago and I enabled the Data Inspector, but now I'm not interested in that feature anymore. However, now, every time I run my model, Simulink shows a pop up window:
No data to record
Model 'myModel' has been configured to send logged workspace and MAT-file data to the Simulation Data Inspector. Based on the current model settings, there is no logged data in a format supported by the Simulation Data Inspector. Consider updating the model to stream signals to the Simulation Data Inspector.
How do I prevent this to happen? I don't want to record any data.

 채택된 답변

Shubham Srivastava
Shubham Srivastava 2017년 5월 26일
편집: Stefanie Schwarz 2022년 1월 24일

1 개 추천

To resolve this error message in R2016b and ealier and stop recording any data, go to the Simulink Data Inspector (SDI) Icon in the Simulink Editor tab. If logging Workspace data is turned on, you should see a small record button over the SDI Icon. To disable logging, select the drop down arrow next to the SDI icon and click again on the "Send Logged Workspace Data to Data Inspector" to disable it.
Regards,
Shubham

댓글 수: 2

爱媛 钱
爱媛 钱 2021년 3월 4일
Sorry, I can find "Send Logged Workspace Data to Data Inspector" in ver2015a, but can't find it in ver2019a. Where is it.
The option "Send Logged Workspace Data to Data Inspector" was removed from the SDI icon in R2017a, however it appears to be equivalent to the (still existing) model parameter "Record logged workspace data in Simulation Data Inspector":
That being said, disabling this option will only prevent SDI from loading workspace data (which is what caused the above error message for the asker), but there maybe still be many other reasons why SDI is active for your simulation. One obvious reason is logging signal data, another could be that you are logging Output or States data in 'Dataset' format as explained in this answer:

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

카테고리

도움말 센터File Exchange에서 Analyze Simulation Results에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by