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.

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 件のコメント

Amrit Kumar Verma
Amrit Kumar Verma 2020 年 2 月 18 日
編集済み: Amrit Kumar Verma 2020 年 2 月 18 日
Hi Bhaskar. Thanks for the update. I think I couldn't make my concern clear to you.
I am having the original mex type .c files. And I am trying to convert these mex types .c files to normal .c files, not the compiled .mexw64 binary file to normal .c file. I hope I made my point clear to you.
So, is there any way possible ? Please let me know.
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.
Thanks for your support @Bhaskar. :-) :-)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で MATLAB Compiler についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by