Filter löschen
Filter löschen

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

6 Ansichten (letzte 30 Tage)
Josef Prochazka
Josef Prochazka am 18 Aug. 2020
Kommentiert: Josef Prochazka am 18 Aug. 2020
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)

Antworten (1)

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

Kategorien

Mehr zu Event Functions finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by