Can I use an output of a Matlab function delayed by a memory block as an input for the same Matlab function in Simulink?
2 次查看(过去 30 天)
显示 更早的评论
I wanted to define variables within a Matlab function in Simulink. To decide which values the variabels will have in the current simulation step the variable values from the previous simulation step are necessary and feedback delayed with a memory block.
If I do this I get an error message during compilation.
Without the feedback the model compiles but does not deliver the desired result.
1 个评论
Vaibhav Awale
2016-3-16
Can you please let us know the error message that you get during compilation?
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!