From: Abbas on
Dear Sir or Madam,

I am trying to run a Simulink file with an S-Function. The Simulink file is supposed to read/capture data from some EEG channels, to do some calculations on the data (independent component analysis) and output the result. All these calculation is going to be on-line or in real-time.

I have to write the S-Function all from scratch. I am not sure if I have to use a Level 2 S-Function or a C or C++ S-Function.

I would appreciate if you could give me some advice on this issue. Thank you very much in advance.

Best regards,

Abbas Orand