MATLAB: Programmatic Control of turning on and off Simulation Data Logging
datadisableenableloggingsimulink
I have a number of signals where I am performing data logging. I want to be able to quit streaming ALL data signals temporarily for several runs, then reinstate streaming for subsequent runs, with a pair of “disableStreaming” and “enableStreaming” function calls.
Related Question
- Does Simulink.sdi.save save incomplete data to a MAT file when starting a simulation by setting the “SimulationCommand” parameter to ‘start’
- Simulink turn off data logging
- How to get control over the signals which are being logged in the model
- How to modify signal logging overrides for tests with multiple model references
- How is it possible to deactivate signal logging of referenced models in the InitFcn callback
- Command line interface to toggle “Logged signals as specified by model reference”
- How to set the ‘Datalogging’ property for individual signals in the model from the command line in Simulink
- How to turn logging off for a signal within Simulink Data Inspector(SDI)
Best Answer