How to burn a mex(.m) file to a hardware like tms32067xx series??

If you find any solutions or suggestions please let me know. I wanna know how to link matlab n code composer studio

 채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 8월 10일

0 개 추천

MEX-files are basically shared libraries (ie, .dll on Windows, .so on Linux, etc.) that link against MATLAB run-time libraries. So to be able to run these files, you need MATLAB installed. It is not possible to run MEX-files directly on an embedded target. However, if you have the source code, it may be fairly straightforward converting it to a more generic form that can be compiled using your hardware toolchain.
For MATLAB (.m) files, you can use the MATLAB Coder product to generate standalone C code as long as your code confines to the language subset supported for code generation. You can then compile this code in CCS (or any other C compiler) and run it on pretty much any embedded target.

댓글 수: 2

Thanx Kaustubha..:)
Actually we use TMS6713 n ccs along with it. n i just wanna write my code in .m file n burn it into that kit..
I wanted learn more about Simulink and MATLAB CODER.. kindly help me out...
Suchindra: Please follow the documentation for both products and post here if you have specific question: http://www.mathworks.com/help/toolbox/coder/ and http://www.mathworks.com/help/toolbox/simulink/

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by