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 (최근 30일)
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.

채택된 답변

Bhaskar R
Bhaskar R 2020년 2월 18일
편집: Bhaskar R 2020년 2월 18일
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
Bhaskar R
Bhaskar R 2020년 2월 18일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by