Technical discussion about Matlab and issues related to Digital Signal Processing.
I am trying to call matlab from C using the Matlab Engine. Is there a
way to directly read and write files in the Matlab code for example
Engine *ep;
engEvalString(ep,"raw_data=importdata('bse30_7_3.csv',',',2);");
or
engEvalString(ep,"success_var=xlswrite('port_opt_out_data_30.xls',out_data);");
Would I have to do all the file I/O in the C part of the code? Do I
have to have variables declared in the C part in order to
send/retrieve them across from the Matlab sections of the code?
People with experience writing Matlab code within C using Matlab
Engine plz help!!