5.0

5.0 | 1 rating Rate this file 217 downloads (last 30 days) File Size: 23.73 KB File ID: #21261

gui_simulink_scope

by Nassim Khaled

 

29 Aug 2008 (Updated 29 Aug 2008)

Code covered by BSD License  

This file contains a guide_simulink_sfunction interface. It is a fairly easy and simple application.

Download Now | Watch this File

File Information
Description

This file contains a guide_simulink_sfunction interface. It is a fairly easy and simple application. It was mainly created as a reply for a question from one of the students on “how to display the simulink results in real time in a gui interface, outside the boundries of simulink?” the gui(simulink_gui_interface) is a simple one. It calls the simulink model(simulink_model.mdl), which in return uses an s-function(sfun.m) to plot the data. I tried to make this example as simple as possible so that more people would benefit from this application. One more important observation, if you run the simulink model (simulink_model.mdl) from simulink, it will take more time than running the simulink model from the interface itself (simulink_gui_interface)!!
To run, just type in the Matlab workspace:
simulink_gui_interface

Submitted by
Nassim Khaled
PhD Candidate
Wayne State University
USA

Acknowledgements
This submission has inspired the following:
Real time update of simulink variables in GUI
Required Products Simulink
MATLAB release MATLAB 7.0.1 (R14SP1)
Zip File Content  
Other Files Gui_Simulink _Sfunction Interface/~$ead me.doc,
Gui_Simulink _Sfunction Interface/~WRL0242.tmp,
Gui_Simulink _Sfunction Interface/~WRL0715.tmp,
Gui_Simulink _Sfunction Interface/~WRL2638.tmp,
Gui_Simulink _Sfunction Interface/read me.doc,
Gui_Simulink _Sfunction Interface/sfun.m,
Gui_Simulink _Sfunction Interface/simulink_gui_interface.fig,
Gui_Simulink _Sfunction Interface/simulink_gui_interface.m,
Gui_Simulink _Sfunction Interface/simulink_model.mdl
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
01 Sep 2008 Qadeer Ahmed

A very good tutorial for beginners.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
simulink Nassim Khaled 22 Oct 2008 10:16:37
gui Nassim Khaled 22 Oct 2008 10:16:37
scope Nassim Khaled 22 Oct 2008 10:16:37
sfunction Nassim Khaled 22 Oct 2008 10:16:37
real time data Nassim Khaled 22 Oct 2008 10:16:37
 

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