0

Hi every one, I m doing some work in fractal image compression, plz tell me how to convert a c code to matlab code

5
Contributors
4
Replies
14
Views
8 Years
Discussion Span
Last Post by NicAx64
0

Do it by having intimate knowledge of both languages. Normally instead of converting C program line-by-line you would convert function concepts. If you have a C function named foo(int a, int b) that returns the product of two numbers then just write the same function in matlib.

Don't ask me how to do it because I have no idea. If you don't either then you need to spend some time learning matlib and learn how to do it yourself.

Votes + Comments
yes, but they never listen to reason.
-3

hi...
My project in communication for that i have to
convert my C file to matlab (.m) file If you know how to convert it plz send it to me....

devi

Votes + Comments
Another mindless shrub jumping on a dead thread with the "plzsendittometoo" pith
0

c code to matlab code

or matlab to C Code ? I don't think that there are automatic converters
exists. But as you already know for matlab to C there are automated converters inside matlab package.

convert my C file to matlab (.m) file If you know how to convert it plz send it to me....

what is actually in C that you want to convert ? what about making a dll
file from C and call it's methods in matlab code ? :)
http://www.mathworks.com/company/newsletters/news_notes/win03/patterns.html

and I think you know how to create a dll from C source file.

give some samples on lines or file in .C file that you want to convert.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.