03-20-2007 10:19 PM
03-22-2007 05:15 AM - edited 03-22-2007 05:15 AM
Hello Brian,
The data returned from the Sound File Read Simple. VI is in the form of '1D array of Waveforms.' The data type you have selected as the input 'X' in your MATLAB script node is 1D Array of Real. If you wish to read one waveform into the MATLAB script you will first need to index that array of waveforms to be left with a single waveform, and then from that extract the Y values which will then give you the same data type as the MATLAB script node input. See the attached file on how to do this.
Good Luck!
Tom
NIUK
Message Edited by Tom. on 03-22-2007 11:15 AM
03-22-2007 11:59 AM