How to update "hidden" param in standalone reference configuration?

6 次查看(过去 30 天)
When code generating I get following warning:
Warning: Insufficient space for computing symbol names in model 'my_ref_model_name'. The
maximum identifier length '31' does not provide sufficient space to make symbol names unique using the
symbol format string in 'Global variables'. This is required when using model reference. Consider
increasing the maximum identifier length. To eliminate this message enter the command
set_param('my_ref_model_name', 'ModelReferenceSymbolNameMessage', 'none')
at the MATLAB prompt.
I am ok with the warning and I want to eliminate the message. But when I try to run:
set_param('my_ref_model_name', 'ModelReferenceSymbolNameMessage', 'none')
I get this error:
Parameter update is not supported for a configuration reference. Update parameter in the configuration
set that it references.
How can I update this parameter, if my reference configuration is saved in standalone data dictionary and my_ref_model_name is just referencing it?
(I can change configuration params that are visible in GUI for configuration editing, but I do not know how to modify the "hidden" params)

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2020-8-18
You need to open the data dictionary and change this parameter in the saved reference configuration directly.

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by