MATLAB to C conversion

  • Follow


I am trying to implement the seamcarving algorithm on a TMS320C6713 DSK. i have implemented the code in MATLAB with the hope that it will be compatible with TMS320C6713 DSK. but it supports only c files. Is there a chance that i can convert my MATLAB code to C code? i tried using mcc -m commands but the compiler reports that many header files like mclmcr.h,wchar.h etc are missing? (i am using MATLAB 7.5 version). Is there a way by which i can convert my MATLAB code to c without writing again in c code.
0
Reply Deepak 11/25/2009 4:08:20 AM

hai,
add to your matlab
simulink
rtw
rtwecoder
embbeded target for texas 6 series
no need of matlab comlier

cheers


"Deepak " <deepakravikumar_7@yahoo.co.in> wrote in message <heiajk$6cc$1@fred.mathworks.com>...
> I am trying to implement the seamcarving algorithm on a TMS320C6713 DSK. i have implemented the code in MATLAB with the hope that it will be compatible with TMS320C6713 DSK. but it supports only c files. Is there a chance that i can convert my MATLAB code to C code? i tried using mcc -m commands but the compiler reports that many header files like mclmcr.h,wchar.h etc are missing? (i am using MATLAB 7.5 version). Is there a way by which i can convert my MATLAB code to c without writing again in c code.
0
Reply Murugaiyan 11/25/2009 5:18:02 AM


"Deepak " <deepakravikumar_7@yahoo.co.in> wrote in message 
news:heiajk$6cc$1@fred.mathworks.com...
>I am trying to implement the seamcarving algorithm on a TMS320C6713 DSK. i 
>have implemented the code in MATLAB with the hope that it will be 
>compatible with TMS320C6713 DSK. but it supports only c files. Is there a 
>chance that i can convert my MATLAB code to C code? i tried using mcc -m 
>commands but the compiler reports that many header files like 
>mclmcr.h,wchar.h etc are missing? (i am using MATLAB 7.5 version). Is there 
>a way by which i can convert my MATLAB code to c without writing again in c 
>code.
>

Hi,

mcc is part of the MATLAB Compiler, which does not generate C code for 
real-time application. It generates standalone executable to deploy on other 
machines (desktop) that do not have MATLAB installed. What you need for your 
application is Embedded MATLAB , with Real-Time Workshop (RTW) and Real-Time 
Workshop Embedded Coder (RTW-EC). RTW allows you to generate ANSI C code 
from MATLAB and Simulink that is functionally correct, suitable for rapid 
prototyping and HIL applications, but not optimised for a production 
environment. RTW-EC allows you to customize and optimize the C generated by 
RTW for embedding on a production target. In addition, the Target Support 
Package facilitates the deployment of the code generated by RTW and RTW-EC 
on specific targets. I am not sure if your target is supported, but you can 
check at http://www.mathworks.com/products/target-package/supportedio.html.

More info at:
http://www.mathworks.com/products/featured/embeddedmatlab/index.html
http://www.mathworks.com/products/rtw/
http://www.mathworks.com/products/rtwembedded/
http://www.mathworks.com/products/target-package/

HTH,

Arnaud 


0
Reply Arnaud.Miege (491) 11/25/2009 12:25:29 PM

Thanks for the replies. but are all these already available in MATLAB v7.5 or is it available for download?
0
Reply Deepak 11/26/2009 10:28:04 AM

"Deepak " <deepakravikumar_7@yahoo.co.in> wrote in message 
news:hell7j$aq7$1@fred.mathworks.com...
> Thanks for the replies. but are all these already available in MATLAB v7.5 
> or is it available for download?
>

No, they're add-on tools that you need to purchase/download separately.

Arnaud 


0
Reply Arnaud.Miege (491) 11/27/2009 11:29:24 AM

4 Replies
294 Views

(page loaded in 0.349 seconds)

Similiar Articles:













7/20/2012 6:57:42 AM


Reply: