Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
Josef Prochazka
Josef Prochazka le 18 Août 2020
Commenté : Josef Prochazka le 18 Août 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)

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 18 Août 2020
You need to open the data dictionary and change this parameter in the saved reference configuration directly.

Catégories

En savoir plus sur Event Functions dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by