Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Need help in converting this subsystem to model

1 回表示 (過去 30 日間)
Saurabh Sakpal
Saurabh Sakpal 2015 年 1 月 15 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
AS you can see from the diagram the resistor in series by itself and the RC (resitor and capacitor) in parallel i have created a subsystem out of it. Now i am going to be using repeatedly using this model many times (say for eg. 50 times) as i am modelling a cardiovascular system. so when i change the resistor and capacitor values its only logical i use some sort of a tool where if i change the values in 1 circuit once i don't have to manually go and change the other 49 circuits as its time consuming. I heard subsystem to model conversion is useful and i did the 'right click convert to model'.
Problem is it gives this error message shown below. where it says my subsystem must be atomic, function call, triggered or enabled, what is applicable to the diagram i have?
How do i convert it to model? Can someone explain it to me thanks.
  2 件のコメント
Saurabh Sakpal
Saurabh Sakpal 2015 年 1 月 15 日
Saurabh Sakpal
Saurabh Sakpal 2015 年 1 月 15 日

回答 (1 件)

Sebastian Castro
Sebastian Castro 2015 年 1 月 27 日
Hi Saurabh,
The physical connection ports (i.e. what you see in SimPowerSystems) are not yet supported for crossing nonvirtual subsystem and model reference boundaries. This is explained in the Simscape documentation.
I would recommend converting it into a Library block instead, as shown here.
Best,
Sebastian

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by