How to create reference blocks?
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
Kaustubha Govind
on 23 Oct 2012
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.
0 Comments
Sachin Ganjare
on 23 Oct 2012
Probabaly below link would help, if you have already not gone through it:
Hope it helps!!!
1 Comment
Kaustubha Govind
on 23 Oct 2012
Sachin: Your link is specifically for attaching requirement links to library blocks. I think Derek is asking a much more basic question.
See Also
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!