I have a c file written using mex functions, run by Matlab using mex compiler. Now I want to run those mex type .c files without Matlab environment. So, is there any way to convert mex type .c file to normal .c file.

5 Ansichten (letzte 30 Tage)
I have a c file written using mex functions, run by Matlab using mex compile. Now I want to run those mex type .c files without Matlab environment. So, is there any way to convert mex type .c file to normal .c file. Thanks in advance.

Akzeptierte Antwort

Bhaskar R
Bhaskar R am 18 Feb. 2020
Bearbeitet: Bhaskar R am 18 Feb. 2020
You can convert an apple to juice, but it is like to convert back juice to an apple
For more info based MATLAB experts saying
  3 Kommentare
Bhaskar R
Bhaskar R am 18 Feb. 2020
Yes Amrit, I got you. you are clear but i thought different sorry for that. As of my knowledge mex.h needs the MATLAB environment, there may be third party applications to do this, in the mentioned link you may find something helpful.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by