Dashboard blocks for External mode

2 Ansichten (letzte 30 Tage)
Abdelaaziz BENOUDINA
Abdelaaziz BENOUDINA am 17 Feb. 2021
Beantwortet: Pratik am 13 Mai 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!

Antworten (1)

Pratik
Pratik am 13 Mai 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!

Kategorien

Mehr zu Control Simulations with Interactive Displays finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by