00001 00035 #include <acado_toolkit.hpp> // Include the ACADO toolkit 00036 #include <acado/utils/matlab_acado_utils.hpp> // Include specific Matlab utils 00037 00038 USING_NAMESPACE_ACADO // Open the namespace 00039 00040 00041 // Start the MEX function. Do NOT change the header of this function. 00042 // 00043 // int nlhs contains the number of left hand arguments (outputs *plhs[]) 00044 // int nrhs contains the number of right hand arguments (inputs *prhs[]) 00045 void mexFunction( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] ) 00046 { 00047 clearAllStaticCounters( ); // Clear software counters 00048 00049 00050 00051 00052 // WRITE YOUR CPP CODE HERE 00053 printf("Hello world! \n"); 00054 // WRITE YOUR CPP CODE HERE 00055 00056 00057 00058 clearAllStaticCounters( ); // Clear software counters 00059 } 00060