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

12 次查看(过去 30 天)
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

采纳的回答

Fangjun Jiang
Fangjun Jiang 2011-9-28
set_param(Block,'DefaultDataLogging','on')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by