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일

0 개 추천

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!

카테고리

도움말 센터File Exchange에서 Block Libraries에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2021년 2월 17일

답변:

2024년 5월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by