MATLAB Answers

1

How to Copy a block from libraray into simulink model?

Asked by Jagmohan singh on 8 Aug 2012
Hello.. I have defined the mask initialization of subsystem that it copies a block from library (not Simulink standard library) number of times defined in mask parameter. Problem is if library has not been opened it fails. So I need to open the library first before using that subsytem. Is there any way so that I can avoid this and I can use the Subsystem defined above without opening its referenced library.
Thanks.....

  0 Comments

Sign in to comment.

1 Answer

Answer by Albert Yam
on 8 Aug 2012

Add open_system at the top, and close_system at the bottom, to your mask.

  0 Comments

Sign in to comment.