When is the 'ModelReferenceVersionMismatchMessage' Simulink model parameter editable?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Monika Jaskolka
el 7 de Abr. de 2020
Editada: Monika Jaskolka
el 20 de Abr. de 2020

I would like to disable the "ModelReferenceVersionMismatchMessage" parameter, but when I go to the configuration parameters, it's greyed-out and I can't modify it. When I try to edit it from the command line, I also receive errors:

The documentation page for this parameter doesn't give any hints as to when it is possible to actually edit it. How can I edit it?
0 comentarios
Respuesta aceptada
Fangjun Jiang
el 9 de Abr. de 2020
Try this
model='sldemo_mdlref_basic';
open_system(model);
get_param(model,'ModelReferenceVersionMismatchMessage')
set_param(model,'ModelReferenceVersionMismatchMessage','warning')
set_param(model,'ModelReferenceVersionMismatchMessage','none')
3 comentarios
Fangjun Jiang
el 20 de Abr. de 2020
Yes. In the .tlc file, you can disable certain configuration parameters. Open the .tlc file to see if you can find the source.
Monika Jaskolka
el 20 de Abr. de 2020
Editada: Monika Jaskolka
el 20 de Abr. de 2020
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!