MATLAB: Simulink toggle run-time data access programmatically

data accessparameterruntimesignal loggingsimulink

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.

Best Answer

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