필터 지우기
필터 지우기

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

조회 수: 6 (최근 30일)
Josef Prochazka
Josef Prochazka 2020년 8월 18일
댓글: Josef Prochazka 2020년 8월 18일
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