SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
sspmod_matlab.c File Reference

Execution of a Matlab-routine in an SSP-script. More...

Functions

void spr_matlab_free (SprSspInfo *Info)
 
int spr_matlab_setup (SprSspInfo *Info, const char **descript, void *aux_info)
 
int spr_matlab_process (SprSspInfo *Info, const void *frame_in, void *frame_out)
 
void spr_matlab_reset (SprSspInfo *Info, SprSspStatus *action)
 

Detailed Description

Execution of a Matlab-routine in an SSP-script.

This program enables the insertion of a Matlab-routine in an SSP-script. All frames of a particular entry are first collected into a file which is then sent to and processed in Matlab. Finally, the file with the processed frames is sent back to the calling routine and disassembled into frames again for further handling.


[matlab]
mfile <fname>
Name of m-file to be executed.
arg <list_of_arg>(x,k) ...
Arguments of m-file, seperated by commas: <x>=input data, <k>=keyset (read-only), <fname>=the file name (not including the base directoy and suffix component).
olen [number](-1)
Output frame-length.
cmd <cmd> ...
Define the command to call Matlab; default: matlab -display none

Author
Kris Hermus, Kris Demuynck
Date
14 May 1998