How can I stop logging signals in a model which appear under extmode_sf_data in the data inspector?
4 次查看(过去 30 天)
显示 更早的评论
When running a model in external mode (TI C2000) I see in the data inspector extmode_sf_data and Signals.
Under signals I see signals which I have selected in the model by right clicking and selecting Log Selected Signals. However the signals under extmode_sf_data I have not selected (as far as I know). I also can not find them under Signal Monitoring & Tracing ==> Configure Logging. I do not need them. There also seems to be no logic in why these signals are selected. I think it is also adding extra data which I do not need. So How can I stop logging signals in a model which appear under extmode_sf_data in the data inspector?
0 个评论
回答(1 个)
Rasmita
2023-3-16
编辑:Rasmita
2023-3-16
Hi,
It is my understanding that, you want to stop logging signals which appear under “extmode_sf_data”. While viewing the simulation output in SDI, with the Simulink model running in External mode, the “Inspect” pane lists all the selected signals for logging under “Signals” tab, along with an extra tab “extmode_sf_data”.
In order to stop signals from logging, you can use following functionality by specifying log as ‘off’:
Simulink.sdi.markSignalForStreaming()
For more information on this functionality refer below documentation and the example given in it:
Hope this helps!
Regards,
Rasmita
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!