embedded matlab function
5 次查看(过去 30 天)
显示 更早的评论
I have an embedded matlab function in a simulink model that takes in a constant input and produces an output that I use to drive a joint actuator. That is,
constant input -> embedded matlab function -> to joint actuator
The issue I'm having is that the embedded matlab function is continuously calculating, which makes the output fluctuating with time.
Is there a way to stop the function after single calculation?
0 个评论
采纳的回答
TAB
2012-6-20
Put your Embedded Matlab function block in an enabled subsystem and enable it only once at the start of simulation.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!