Dashboard blocks for External mode

2 visualizaciones (últimos 30 días)
Abdelaaziz BENOUDINA
Abdelaaziz BENOUDINA el 17 de Feb. de 2021
Respondida: Pratik el 13 de Mayo de 2024
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!

Respuestas (1)

Pratik
Pratik el 13 de Mayo de 2024
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!

Categorías

Más información sobre Control Simulations with Interactive Displays en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by