Clear Filters
Clear Filters

Dashboard blocks for External mode

4 views (last 30 days)
Abdelaaziz BENOUDINA
Abdelaaziz BENOUDINA on 17 Feb 2021
Answered: Pratik on 13 May 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!

Answers (1)

Pratik
Pratik on 13 May 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!

Categories

Find more on Control Simulations with Interactive Displays in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!