Rank: 166 based on 325 downloads (last 30 days) and 7 files submitted
photo

Phil Goddard

E-mail
Company/University
Goddard Consulting

Personal Profile:

See www.goddardconsulting.ca/about.html

Professional Interests:

 

Watch this Author's files

 

Files Posted by Phil View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Mar 2013 Screenshot Technical Analysis Tool GUI for viewing various simple technical analysis indicators of a time series Author: Phil Goddard analysis, modeling, finance, technical analysis ch... 143 4
  • 4.4
4.4 | 5 ratings
10 Nov 2011 Screenshot GARCH Tool User Interface for fitting and evaluating a generic GARCH model using the Econometrics Toolbox. Author: Phil Goddard garch, ar, ma, arma, econometrics, model fitting 27 1
07 Jun 2011 Screenshot Zero Order Hold with variable time step Level-2 M-file S-function that acts as a ZOH sampler with sample times specified as a block input. Author: Phil Goddard simulink, sfunction 5 0
02 Nov 2009 Screenshot Simulink Signal Viewing using Event Listeners and a MATLAB UI. This demo shows how to use block listeners to view model signals in a MATLAB user interface. Author: Phil Goddard add_exec_event_listen..., event listeners, simulink, ui, user interface, grt 120 21
  • 4.8
4.8 | 10 ratings
12 Jan 2009 Screenshot Pulse with jitter Level-2 m-code S-Function that acts as a pulse generator with jitter around a nominal period. Author: Phil Goddard simulink, pulse, sfunction, generator, jitter 4 0
Comments and Ratings by Phil View all
Updated File Comments Rating
20 Feb 2011 Simulink Signal Viewing using Event Listeners and a MATLAB UI. This demo shows how to use block listeners to view model signals in a MATLAB user interface. Author: Phil Goddard

A couple of comments ask about using the "old method" of an s-function instead of an event listener.
I often use the S-function approach, and to some extent prefer that way.
However it means that the model itself must be modified -- by the addition of the s-function block.

Sometimes, for whatever reason, you don't want to add that additional block.
Rather you want the UI to attach itself to an existing model, do its stuff, then unattach itself at the end.
That is what the event_listener approach allows.
e.g. you want to write a UI that allows the user to select one of many different models to run and upload data from.

08 Nov 2009 Simulink Signal Viewing using Event Listeners and a MATLAB UI. This demo shows how to use block listeners to view model signals in a MATLAB user interface. Author: Phil Goddard

I've updated the example to show how to add listeners to multiple blocks.

29 May 2009 Simulink Signal Viewing using Event Listeners and a MATLAB UI. This demo shows how to use block listeners to view model signals in a MATLAB user interface. Author: Phil Goddard

The reported bug about not being able to have the model open _before_ opening the UI has been fixed.

Note however that there are many model-UI interactions that the demo does not handle. For instance if the simulation is started from the UI, but is stopped by pressing the stop button on the model, then UI stop/start buttons are not updated. There are many such interactions that would need to be handled in a production version of this app, but are not handled here since they are not core functionality for the topic at hand.

Comments and Ratings on Phil's Files View all
Updated File Comment by Comments Rating
17 Apr 2013 Technical Analysis Tool GUI for viewing various simple technical analysis indicators of a time series Author: Phil Goddard Mirko

very good. I miss DMI and ADX

19 Mar 2013 Visualization Toolkit (VTK) mex interface Files describing how to interface MATLAB with VTK via mex Author: Phil Goddard marc

10 Jan 2013 Simulink Signal Viewing using Event Listeners and a MATLAB UI. This demo shows how to use block listeners to view model signals in a MATLAB user interface. Author: Phil Goddard Tsinghua

24 Sep 2012 Simulink Signal Viewing using Event Listeners and a MATLAB UI. This demo shows how to use block listeners to view model signals in a MATLAB user interface. Author: Phil Goddard Craig

Can this be made to work for subsystems?

26 Aug 2012 Simulink Signal Viewing using Event Listeners and a MATLAB UI. This demo shows how to use block listeners to view model signals in a MATLAB user interface. Author: Phil Goddard Eyad

Hi I'm trying to make a GUI to control a model on a RTW ,I made the GUI with GUIDE and set the strartfcn of the model to "localAddEventListener" , the model and GUI works perfectly on simulation but when I build it on XPC target box and try to press connect it gives me an error saying that it can't find the function "localAddEventListener"
can you please help me with that

Top Tags Applied by Phil
simulink, sfunction, add_exec_event_listener, analysis, annotation
Files Tagged by Phil View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Mar 2013 Screenshot Technical Analysis Tool GUI for viewing various simple technical analysis indicators of a time series Author: Phil Goddard analysis, modeling, finance, technical analysis ch... 143 4
  • 4.4
4.4 | 5 ratings
10 Nov 2011 Screenshot GARCH Tool User Interface for fitting and evaluating a generic GARCH model using the Econometrics Toolbox. Author: Phil Goddard garch, ar, ma, arma, econometrics, model fitting 27 1
07 Jun 2011 Screenshot Zero Order Hold with variable time step Level-2 M-file S-function that acts as a ZOH sampler with sample times specified as a block input. Author: Phil Goddard simulink, sfunction 5 0
02 Nov 2009 Screenshot Simulink Signal Viewing using Event Listeners and a MATLAB UI. This demo shows how to use block listeners to view model signals in a MATLAB user interface. Author: Phil Goddard add_exec_event_listen..., event listeners, simulink, ui, user interface, grt 120 21
  • 4.8
4.8 | 10 ratings
12 Jan 2009 Screenshot Pulse with jitter Level-2 m-code S-Function that acts as a pulse generator with jitter around a nominal period. Author: Phil Goddard simulink, pulse, sfunction, generator, jitter 4 0

Contact us