Thread Starter

Juan Santapau

I'm trying to translate MATLAB code into C code for using it in PLCs.

MATLAB has a compiler that is be able to do it, but the problem is that the generated code depends on a lot of MATLAB libraries that can not be used by the PLC, so my job is to prepare all the functions, structures... of these libraries.

I'm trying to find out some information about these libraries and all the funtions and structures (mxArray) that are used so I would like to know how can I get this information and if you know how the structure mxArray works.

Thanks and best regards
In my experience the Matlab C compiler will not work for some of the new Matlab functions.

Contact Paul Taylor ([email protected]), who is an applications engineer with Mathworks, he shoudl be able to answer your questions..

Paul Rucci
I also have to change Matlab files to c files
So,what should i do.
Please any one can help me.