How do I disable the "Remapping selected signal" warning message I receive when I open a model in Simulink 5.1 (R13SP1)?

4 次查看(过去 30 天)
I have a model that includes a library block. The library block has a bus selector. Whenever I open the model in Simulink 5.1(R13SP1), I receive the following warning message:
Remapping selected signal 'cgz_sn_in' to 'vehicle_bus.masscase_bus.cgz_sn_in' in Bus Selector block 'top_sim/top_sim_lib/project_specific_variable_io_lib_model/BusSelector' to match the bus hierarchy. Please save your model to make this change permanent.
Even if I save the model, I get the warning message the next time I open the model. I expect there to be a method for turning this warning message off.

采纳的回答

MathWorks Support Team
This enhancement has been incorporated in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
The ability to turn off this warning message is not available in Simulink.
The reason you are getting this warning message even when you have saved your model (as the warning suggests) is that in MATLAB 6.5 (R13), libraries are locked by default. When you save the model, the changes are saved in the model but are not saved to the corresponding library (because it is locked). When you open the model next time, the model detects a difference between the blocks in the model and the corresponding blocks in the library and hence issues the warning.
To work around this issue, unlink the block in the model from the library and save the model. To unlink a block from the library, right click on the block and select "Library link option"->"Disable Link" option.
If you modified the block in the model and you do not want the modifications to affect the corresponding block in the library, do not restore the link between the block in the model and the library. If you want the block in the library to also acquire the modifications you made to the block in the model, restore the link by right clicking on the block and selecting "Library link options"->"Restore Link".

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

产品


版本

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by