Running a Subsystem in a function as iteration in simulink
显示 更早的评论
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.
回答(1 个)
Kaustubha Govind
2013-8-8
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!