From: Tim on
Colleagues...

New to SIMULINK/RTW.

I am importing a simple 1-D external signal with a sampling frequency of 120 Hz.

I can successfully connect the external signal with MATLAB using the conn function, accumulate the signal in a buffer within MATLAB and manipulate it after accumulation.

I now wish to manipulate the signal continuously, display it on a scope, mark extrema and so on. Moreover, I wish to do postprocessing on the most recent 5 minutes of data and also display that output on a scope. SIMULINK time. Therefor, I ask:

What is the best, standard method to connect the signal into SIMULINK?

What is the best, standard method to create a FIFO buffer of set length (120Hz * 300 seconds=36000 samples) within SIMULINK from which additional processing can be done at a set interval (e.g. every 60 seconds) ?

I apologize in advance for asking such basic questions, I would rather 'do it right' the first time.

With appreciation.