| Author |
Message |
mailme4121
Joined: 21 Nov 2006 Posts: 5
|
22 Nov 2006 4:37 DSP Processor |
|
|
|
|
| Is there any software to convert MATLAB code to C code or vece-versa?
|
|
| Back to top |
|
 |
m_llaa
Joined: 12 Mar 2006 Posts: 277 Helped: 23 Location: My Love Iran
|
26 Nov 2006 21:02 DSP Processor |
|
|
|
|
Hi
MATLAM has it, try mcc. but may be it is not efficient code for u.
|
|
| Back to top |
|
 |
Google AdSense

|
26 Nov 2006 21:02 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
Drago
Joined: 15 Nov 2005 Posts: 54 Helped: 4 Location: Bulgaria
|
27 Nov 2006 23:00 DSP Processor |
|
|
|
|
| Actually there was! The new Matlab 7 gives some strange and useless mixture between C and Java. You may try some old versions just to test it!
|
|
| Back to top |
|
 |
Robinenemy
Joined: 10 Jul 2006 Posts: 119 Helped: 15
|
01 Dec 2006 8:31 Re: DSP Processor |
|
|
|
|
Matlab Itself Can do it it requires Borland C++ or Microsoft Visual C++
Also I think it cannot convert the internal functions like fft,ifft to their C/C++ code
so you have to write your own functions for that also
Regards
Robin
|
|
| Back to top |
|
 |
Drago
Joined: 15 Nov 2005 Posts: 54 Helped: 4 Location: Bulgaria
|
01 Dec 2006 23:06 DSP Processor |
|
|
|
|
| You do not have to write your own fft/ifft functions. They already exist. Some of the funcions are precompiled in dll-s, therefore you just have to copy them together with your application.
|
|
| Back to top |
|
 |
cydi
Joined: 12 Dec 2006 Posts: 169 Helped: 11
|
18 Dec 2006 6:33 DSP Processor |
|
|
|
|
| Matlab by itself comes with a C cross-compiler. Eventhough it gives you good C code, if you are going to implement it in DSP, its efficiency is going to come down. Its better to stick to the library given by manufacturer.
|
|
| Back to top |
|
 |
Sathish
Joined: 06 Jan 2006 Posts: 91 Helped: 4 Location: Chennai
|
21 Dec 2006 18:54 Re: DSP Processor |
|
|
|
|
hi
i also tried the convertion of matlab file to 'c' , it is working but it is very slow. so don't try for some complex dsp functions.
bye
|
|
| Back to top |
|
 |