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

trega trega

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by trega
Updated File Comments Rating
16 Aug 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

Thank you for this example, it works very nice.
I would like to access both signals in XPGraph. To do that I changed

sTime = block.CurrentTime;
into:
sTime=block.InputPort(2).Data;

In localEventListener function.
However, now both variables: sTime and data have the same values. Could you tell me what am I doing wrong?

Contact us