Rank: 442703 based on 0 downloads (last 30 days) and 0 file submitted
photo

Dennis Nord

E-mail
Company/University
Linköpings Universitet, Norrköping

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Dennis View all
Updated File Comments Rating
31 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

31 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

Thank you for a great contribution. I am currently working on my degree project (which, among other things, involves creating simulink gui's for control design using realtime windows target and a NI Daq-card). This is very interesting, i will definitely give it a shot.

Do you suppose this solution would be faster or slower as opposed to the "old" s-function way? Im currently having problems with s-functions and 2 axes, 5 signals (line children). If i try to update the axes faster than about 10 times per second (i do this independently of sampling time using modulo operator) the GUI tends to "lag" after the simulation and the objects (i think the whole s-function?) gets an increasing time delay towards the actual process (although the control system seems to run well!)

Am i correct if i assume the event listener will trigger on each step in the simulink model (thats how fast i sample my signals as well)? that is, if i have a step size of 0.001 the listener will trigger at a rate of 1 kHz? Is there a good way to downsample this without interfering with the simulink model?

Contact us