Running a Subsystem in a function as iteration in simulink
7 views (last 30 days)
Show older comments
I have a problem with my "iteration-system". In general i'd like to iterate a value, which is calculated in a subsystem.
My function should perform the following: The first step is an interpolation at a certain point. Then, the interpolated values are outputted and transferred to a subsystem. At this subsystem the interpolated values are calculated to a new value and passed to the function as input again. Then a crash condition is checked whether the process is still to be carried out or may break and the calculated value can be output as a final value.
To add an important fact. My subsystem should only be working when it is activated. Otherwise it has to be bypassed.
So i need a way to call up the subsystem in my function, to calculate a new value.
I have to do this in simulink, so my function is a embedded matlab function.
0 Comments
Answers (1)
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!