Filter löschen
Filter löschen

if action subsystem is linked to parent if action subsystem

2 Ansichten (letzte 30 Tage)
Paul Huter
Paul Huter am 5 Jan. 2017
Kommentiert: Jordan Ross am 9 Jan. 2017
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 Kommentar
Jordan Ross
Jordan Ross am 9 Jan. 2017
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by