How to create reference blocks?

5 次查看(过去 30 天)
Derek Abeyta
Derek Abeyta 2012-10-22
Hello,
I have a populated folder of .mdl files that I would like to create reference blocks for so that any changes to the pre-existing .mdl files will propogate to the newly created reference blocks. I have been trying to find how this is done but I have not had much luck. I understand that there is some process involved with creating a new library and somehow linking the library to the .mdl file. The instructions that I have come across have been hard to follow so I'm hoping someone can help me here. I am fairly new to using MATLAB so pardon my ignorance.
Thank you in advance,
Derek A.

回答(2 个)

Kaustubha Govind
Kaustubha Govind 2012-10-23
The simple answer is that you need to create a Library model (From Simulink Library Browser > New > Library) and add your blocks to that model (note that this model cannot actually be run, it is simply a repository of blocks). All subsequently models that you create should drag the blocks from this library to be linked to that library block. For more information, please see Create Block Libraries.

Sachin Ganjare
Sachin Ganjare 2012-10-23
Probabaly below link would help, if you have already not gone through it:
Hope it helps!!!
  1 个评论
Kaustubha Govind
Kaustubha Govind 2012-10-23
Sachin: Your link is specifically for attaching requirement links to library blocks. I think Derek is asking a much more basic question.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by