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.
1/6/2010: The stock quote service used in this example is no longer available.