Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

how can I add my new configurable subsystem to the matlab library?

0 votes
1,278 views
Hi

Based on tutorial video, I made a new configurable subsystem and I can use it as a new defined component in blockset plecs. I defined the matlab path in plecs preference to see my new component in matlab as well, but I can not! I would appreciate if anyone help me.Thank you in advance.
asked Feb 18, 2019 by mahdiehhh (16 points)

2 Answers

0 votes
Hello,

Please refer to this previously asked question and see if you are able to solve the problem: https://forum.plexim.com/683/add-component-to-library-plecs-blockset

Let me know if you are still stuck.

Best regards,

Kris
answered Feb 19, 2019 by Kris Eberle (1,575 points)
0 votes
hi Kris,

thank you for your reply. Is it possible to use generated extra library component in standalone to blockset one? I mean after adding extra plecs library in simulink, when I open the plecs there is a nonactive part '' import from standalone'' in menu file. Is it possible to activate this part and use standalone component in blockset as well?
answered Feb 23, 2019 by mahdiehhh (16 points)

Hello,

You can import a PLECS Standalone model into a Simulink model containing a blank PLECS Circuit component, using the File menu option you mentioned. Should you want to add this imported model to an existing one, you will need to copy and paste it from the blank one or add your existing PLECS Blockset model to the imported one. Is that clear? You can then make a new library component file with the additional imported blocks in the same fashion as described in the link above.

Regards,

Kris

Thank you so much for your comprehensive reply. My file menu in plecs component in simulink is not active to import plecs standalone file to bleckset. I have standalone, blockset plecs and RT Box on my laptop. Do you think I need something else to activate '' import from standalone'' option?
Hello,

Are you trying to access this option while within a blank PLECS Circuit block in a Simulink model? If so, I would recommend we redirect your question to PLECS Support (support@plexim.com). Let me know.

Kris
Hi

no, I tried to access that option in a blank plecs lib. component in a simulink model; in other way, that option was not active in plecs library component in simulink model, can I ask you what is the application of plecs lib. component?
...