4.66667

4.7 | 3 ratings Rate this file 133 downloads (last 30 days) File Size: 2.97 KB File ID: #8454

Nested Function Live Stock Ticker

by Scott Hirsch

 

08 Sep 2005 (Updated 09 Sep 2005)

Code covered by BSD License  

An example using nested functions and WSDL to create a live stock-ticker.

Download Now | Watch this File

File Information
Description

This application uses a WSDL web service to provide live (albeit 20 minute delayed) stock quotes. By using a MATLAB timer object, it runs continuously as a background task (without blocking the MATLAB command line).

This application is not meant to be a serious stock ticker - it is intended to highlight usage of nested functions. If you really need to
get live stock prices into MATLAB, please use the Datafeed Toolbox.

This application is posted as a supplement to the nested function tip published in the October, 2005 issue of MATLAB News & Notes.

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
05 Jan 2006 nafiz sezen  
16 Jan 2007 James Earlson

Great!

10 Dec 2007 Betsy` Cantwell

good

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
nested function Scott Hirsch 22 Oct 2008 07:59:42
timer Scott Hirsch 22 Oct 2008 07:59:42
realtime Scott Hirsch 22 Oct 2008 07:59:42
callback Scott Hirsch 22 Oct 2008 07:59:42
function handle Scott Hirsch 22 Oct 2008 07:59:42
 

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