Command line interface to toggle "Logged signals as specified by model reference"

9 visualizaciones (últimos 30 días)
Hello all,
I'm using Matlab2009b and I'm trying to find out how to toggle the "Log signals as specified by the referenced model" checkbox in a model reference block by using the command line.
The option to toggle this setting becomes active when you select the referenced model by right-clicking and selecting the menu item "Log Referenced Signals..."
This is required for scripting to enable and disable the logging for certain model reference blocks within the top level model.
If this property is not accessible from the command line, is there an alternative way to enable/disable signal logging for model reference blocks?
regards,
Ron

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 28 de Sept. de 2011
set_param(Block,'DefaultDataLogging','on')

Más respuestas (0)

Categorías

Más información sobre Prepare Model Inputs and Outputs en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by