|
|
MATLAB to C conversion
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: Matlab to C++ Conversion - comp.soft-sys.matlabI have a project that was made 10 years ago in visual C++ that uses MATLAB files converted to C++ code in a standalone application. This was done usin... Matlab code to C code converter - comp.soft-sys.matlabHi, Is there any method avilable to convert MATLAB code into C code for perticular application of ANN. Regards, Manoj ... converting C/Visual BASIC code to MATLAB - comp.soft-sys.matlab ...I'm trying to convert some vendor provided C and/or Visual BASIC code into MATLAB, so that MATLAB can utilize a driver that can interface a camera. ... Time conversion from time_t format - comp.soft-sys.matlab ...I have data files time tagged with C standard "time_t" data structure, which I believe is just time in seconds after 1 Jan 1970 (I don't care about va... convert an m file to a simulink block - comp.soft-sys.matlab ...Convert M file to Simulink Model - comp.soft-sys.matlab Convert M file to Simulink Model - comp.soft-sys.matlab Well since you have M code you could probably use an ... Convert C array into mxArray Type - comp.soft-sys.matlab ...Hello, I am trying to send data from C++ using Matlab's engine libraries. This might be fairly a simple question but I couldn't figure it out. ... Re: Conversion to cell from char is not possible. - Help? - comp ...MATLAB to C conversion - comp.soft-sys.matlab Re: Conversion to cell from char is not possible. - Help? - comp ... Loading, pre-processing and plotting CSV file in Matlab ... Text to Voice conversion in matlab - comp.soft-sys.matlab ...Voice and Matlab - comp.soft-sys.matlab Text to Voice conversion in matlab - comp.soft-sys.matlab ... I have image of Text book, And I extracted somehow the text from ... string temperature conversion - comp.soft-sys.matlabI'm writing a function that converts two input temperatures (in string) into Fahrenheight *IF* they are in Celsius. Otherwise, the temperatures don't ... Very weird: Conversion to double from struct is not possible ...Hi all, I'm pressed with time and I've only recently started receiving this error: "Conversion to double from struct is not possible." This a... One-button MATLAB-to-C conversion - electrical engineering ...4/3/2009 5:29 PM EDT. Yes, I can help you in this. I have converted plenty of MATLAB codes into C codes. What are you looking for? what kind of conversion do you need? Converting Matlab .m file into C code - Newsreader - MATLAB CentralIs there a chance, in Matlab, to convert ".m file" into a "c code", to run it separately from Matlab?. How, if it is possible? Thank you Ashraf awad 7/20/2012 6:57:42 AM
|
|
|
|
|
|
|
|
|