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.

 Accepted Answer

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

1 Comment

Thank you,
I will keep an eye on the release notes of upcoming releases.

Sign in to comment.

More Answers (1)

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

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 3 Jan 2020

Commented:

on 9 Jan 2020

Community Treasure Hunt

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

Start Hunting!