Simulink toggle run-time data access programmatically

In my model, I am accessing a signal during simulation by using the steps described in the documentation. However, for performance reasons, I would like to programmatically switch run-time data access off during certain tests. I still want to log the signal but I only need to access the data after the simulation.
Basically, I want to uncheck the checkbox in the image programmatically and I can't seem to find the parameter to do this.
Untitled.png
Any help is greatly appreciated.

 采纳的回答

Hi Robert,
Unfortunately there is not a way to control these settings programmatically at this time.
Sara

更多回答(1 个)

Unfortunately there isn't a way to do it. The issue is being looked into.

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

产品

版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by