Azzera filtri
Azzera filtri

if action subsystem is linked to parent if action subsystem

2 visualizzazioni (ultimi 30 giorni)
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 Commento
Jordan Ross
Jordan Ross il 9 Gen 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

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by