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

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.

Comments
yes, but they never listen to reason.

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

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

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 article has been dead for over six months. Start a new discussion instead.