if action subsystem is linked to parent if action subsystem

3 ビュー (過去 30 日間)
Paul Huter
Paul Huter 2017 年 1 月 5 日
コメント済み: Jordan Ross 2017 年 1 月 9 日
I am using an IF/IF ACTION SUBSYSTEM, but I am getting an error that states "Invalid link: Library ***/If Action Subsystem' is linked to parent ***/If Action Subsystem'" I am plugging the result of my IF block into the top of the IF ACTION SUBSYSTEM block and the value I want to pass through the block into the left side of the block. I do not see a loop back or anything like that. I am using two IF ACTION SUBSYSTEM blocks per IF block, on for "IF" one for "ELSE", which may be the problem (?), but it was the only solution I could quickly come up with for executing an "IF/THEN/ELSE" type of thing (see image, below).
Thoughts appreciated.
Thank you.
  1 件のコメント
Jordan Ross
Jordan Ross 2017 年 1 月 9 日
Hello Paul,
Can upload the model so we can see what the "If Action Subsystem" looks like?
Additionally, it seems like you have this model correctly. One thing you may want to try is to try executing the demo model "sldemo_ifsub" and see if you get the same error.
You can open up the demo by typing the following at the MATLAB Command Window:
>> sldemo_ifsub

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by