フィルターのクリア

Dashboard blocks for External mode

4 ビュー (過去 30 日間)
Abdelaaziz BENOUDINA
Abdelaaziz BENOUDINA 2021 年 2 月 17 日
回答済み: Pratik 2024 年 5 月 13 日
Hello, I'm able to use switches (from Dashboard blocks) to change parameters in a model actively running on a target card, using External mode. I would also like to have simple visual elements in my model (as viewed from the host computer screen) for measurement. I am currently using a Display block to show the output, but using Gauges and so a more visible element would be great.
For the moment i am using Simulink with Arduino and TI C2000.
Any suggestions would be appreciated!

回答 (1 件)

Pratik
Pratik 2024 年 5 月 13 日
Hi Abdelaaziz,
As per my understanding, you are using Dashboard blocks in Simulink to control a model on Arduino and TI C2000 in real-time and want to add visual elements like Gauges for better output viewing, instead of just using Display blocks.
There should be a connection to a suitable port for reading data, I suggest you to go to the host model and click on the data receive blocks, right click -> block parameter -> select the required port.
Dashboard blocks do not use ports to connect to model elements. To connect a dashboard block, use connect mode. To enter connect mode on an unconnected block, pause on the block you want to connect and click the Connect button .
Please refer to the documentation about Connecting Dashboard Blocks to Simulink Model for more information:
I hope this helps!

カテゴリ

Help Center および File ExchangeControl Simulations with Interactive Displays についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by