Can C program be converted to Matlab ?

2 visualizzazioni (ultimi 30 giorni)
Pooja
Pooja il 23 Feb 2013
Can C program be converted to Matlab ?

Risposta accettata

manoj saini
manoj saini il 23 Feb 2013
ya using MEX file.....we can convert it into MATLAB
  1 Commento
Walter Roberson
Walter Roberson il 23 Feb 2013
That does not convert it to MATLAB, but it does make it possible for MATLAB to make use of the C code.

Accedi per commentare.

Più risposte (1)

Jan
Jan il 24 Feb 2013
Yes, both languages have the same power.
A manual conversion can be a big piece of work or very easy. Do you mean an automatic conversion?
  3 Commenti
Pooja
Pooja il 24 Feb 2013
C programs logic could be used for matlab programs right?
Walter Roberson
Walter Roberson il 24 Feb 2013
Translating pointers would be tricky, but basic concepts such as "for" loops are the same in most programing languages.

Accedi per commentare.

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by