Effacer les filtres
Effacer les filtres

if action subsystem is linked to parent if action subsystem

2 vues (au cours des 30 derniers jours)
Paul Huter
Paul Huter le 5 Jan 2017
Commenté : Jordan Ross le 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 commentaire
Jordan Ross
Jordan Ross le 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by