Clear Filters
Clear Filters

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

6 views (last 30 days)
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)

Answers (1)

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

Categories

Find more on Event Functions in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!