How to find the value of a Simulink signal running in real-time from a Matlab GUI
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Joe Gibbs
am 1 Aug. 2019
Beantwortet: Harsha Priya Daggubati
am 14 Aug. 2019
I'm writing a GUI programmatically to connect to a target machine which will be running a dynamic model and a control system. As part of the GUI I wish to be able to use the value of a signal (Boolean to denote on/off) as the initial state for a button within my GUI - i.e. if the signal = 1, system starts in manual, and automatic if = 0.
I have created data dictionary variables linked to the blocks which I can edit from the GUI however I was wondering if it was possible to get signals directly from the model which is running on a target machine.
I've experimented with listeners and get_param although I don't believe that these will work on a target machine. Thank you in advance!
0 Kommentare
Akzeptierte Antwort
Harsha Priya Daggubati
am 14 Aug. 2019
Hi,
This is the link to a similar question asked in our community forum.
Hope this helps by addressing your issue.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multicore Processor Targets finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!