Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a931a60d authored by Nicolas Bellot's avatar Nicolas Bellot Committed by hhakim
Browse files

documentation wrapper matlab

parent 53bf1423
Branches
Tags
No related merge requests found
/****************************************************************************/ /****************************************************************************/
/* Description: */ /* Description: */
/* file where the C++ class Faust::Transform is interface with Matlab */
/* WARNING : this file is configured into two files : */
/* - mexFaustReal.cpp interfaces the class Faust::Transform<double> */
/* (i.e real scalar Faust) */
/* - mexFaustCplx.cpp interfaces the class Faust::Transform<std::complex<double<>
/* (i.e complex scalar Faust) */
/* --> these 2 mexfunctions are directly used */
/* */
/* by FaustCore class (tools/FaustCore.m) and Faust.m */
/* */
/* For more information on the FAuST Project, please visit the website */ /* For more information on the FAuST Project, please visit the website */
/* of the project : <http://faust.gforge.inria.fr> */ /* of the project : <http://faust.gforge.inria.fr> */
/* */ /* */
...@@ -101,8 +111,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) ...@@ -101,8 +111,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
std::vector<Faust::MatGeneric<SCALAR,Cpu>*> list_factor; std::vector<Faust::MatGeneric<SCALAR,Cpu>*> list_factor;
mwSize nb_element = mxGetNumberOfElements(prhs[1]); mwSize nb_element = mxGetNumberOfElements(prhs[1]);
// A MODIFIER CREER UNE FUITE //
//double* ptr_bidon = new double[100];
if (nb_element != 0) if (nb_element != 0)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment