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
7 Years
Discussion Span
Last Post by NicAx64
Featured Replies
  • 1
    Salem 5,138   7 Years Ago

    > plz tell me how to convert a c code to matlab code Why would you want to? When you can already do this... [url]http://en.wikipedia.org/wiki/MATLAB#Interactions_with_other_languages[/url] Read More

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.

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

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 article has been dead for over six months. Start a new discussion instead.
Please be thoughtful and detailed and be sure to adhere to our posting rules.