5.0

5.0 | 1 rating Rate this file 47 downloads (last 30 days) File Size: 17.34 KB File ID: #21311

Real time update of simulink variables in GUI

by Qadeer Ahmed

 

03 Sep 2008 (Updated 03 Sep 2008)

Code covered by BSD License  

Real time upadate of simulink scope data on GUI (Gauge and Axes)

Download Now | Watch this File

File Information
Description

This example basically explains the real time update of simulink variables in GUI. The example displays the updated data in gauge and axes.

Copy the files in your workspace.
Type "my_gui" in command window.
Press "Start".

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
gui_simulink_scope

Required Products Simulink
MATLAB release MATLAB 7.3 (R2006b)
Zip File Content  
Other Files Gui_Simulink _realtime_Interface/Gui_Simulink _realtime_Interface/my_gui.asv,
Gui_Simulink _realtime_Interface/Gui_Simulink _realtime_Interface/my_gui.fig,
Gui_Simulink _realtime_Interface/Gui_Simulink _realtime_Interface/my_gui.m,
Gui_Simulink _realtime_Interface/Gui_Simulink _realtime_Interface/my_gui_activex1,
Gui_Simulink _realtime_Interface/Gui_Simulink _realtime_Interface/my_model.mdl,
Gui_Simulink _realtime_Interface/Gui_Simulink _realtime_Interface/my_sfunc.m,
Gui_Simulink _realtime_Interface/Gui_Simulink _realtime_Interface/Readme.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
03 Sep 2008 Qadeer Ahmed

if it does not run your matlab, type

mcc -m my_gui -a my_gui_activex1

and then try it

04 Sep 2008 M John  
23 Dec 2008 Lloyd Landon

Conceptually cool ... However it is not running on my 2007a version. Complaining about "No public field NeedleValue exists for the class handle"

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gui tools Qadeer Ahmed 22 Oct 2008 10:17:18
example Qadeer Ahmed 22 Oct 2008 10:17:18
activex Qadeer Ahmed 22 Oct 2008 10:17:18
gui Qadeer Ahmed 22 Oct 2008 10:17:18
simulink Qadeer Ahmed 22 Oct 2008 10:17:18
gauge Qadeer Ahmed 22 Oct 2008 10:17:18
real time Qadeer Ahmed 22 Oct 2008 10:17:18
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com