Clear Filters
Clear Filters

if action subsystem is linked to parent if action subsystem

2 views (last 30 days)
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 Comment
Jordan Ross
Jordan Ross on 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

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!