Need help regarding visual actuators (lights) in Simulink

1 次查看(过去 30 天)
Hi everyone, I am almost new in Simulink and need urgent help regarding showing the final result of my model. The way I have implemented my lights as an actuator (as I asked in my previous questions ) are really slow and not functional at all. I am searching for the best possible ways to show the results of simulation with turning some lights on or showing some picture as alarm to user. I am sure it is possible in Simulink but could not find it. I also dont know which kind of visual actuators are available for a Simulink model.
Any idea would be greatly appreciated.

回答(1 个)

Swarooph
Swarooph 2016-8-4
As of R2015a, you can use the 'Lamp' block in the dashboard library. Documentation here.
More on the Dashboard blocks here.
  5 个评论
Swarooph
Swarooph 2016-8-8
Have you tried the color approach to determine if the speed problem actually exists similar to the image approach? I think this would be a good exercise so that we can understand if the performance issue here is because of reading an image or using set_param.
Saeed Soltani
Saeed Soltani 2016-8-11
Yes, it is a bit faster. But because I have to use around 8 of different sensor blocks, it is still so slow. I think this is because of coder.extrinsic.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by