Connecting MATLAB App Designer Lamp to Signal in Simulink Realtime
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am running a simple simulink model where a constant value 1 or 0 is fed into a Speedgoat digital output block and then the response returns back through a Speedgoat analog input. I have named the respective signals Load1Input and Load1Output. I have used listeners in the past to connect signals to UIAxes but can't workout how to access the data of these signals. Model below:

I want to link these values to Lamps I have running in a MATLAB App Designer application. For instance when Load1Input is 1 turn the lamp red when it is 0 turn the lamp green. For Load1Output it will have to be something like when Load1Output is greater than this threshold turn the lamp green and so on. I need the MATLAB App to update these values in realtime while the model is running in external mode. Is there a way to do this?
Here is the synoptic (MATLAB App Designer) I would like to use to control the model eventually and update load statuses in real time in external mode.

0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Target Computer Setup in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!