How can I compile this program as standalone?

I'm struggling to compile a standalone for MATLAB function files.
File structure is:
root/: plmDCA_asymmetric.m readme.txt mexAll.m functions/ test_examples/ 3rd_party_code/
functions/: calc_inverse_weights.c calc_inverse_weights.mexa64 g_rC.c g_rC.mexa64
text_examples: some .txt files
3rd_party_code: minFunc_copyright.txt minFunc/
minFunc/: many files with *.m and *.c; some .mexw32/mexw64 files
I understand I need to use `mcc` but I am unsure about the options. Basically I would like the `plmDCA_asymmetric.m` function as a standalone but all other files are required.

1 件のコメント

Harsheel
Harsheel 2015 年 1 月 30 日
Have you tried using the -I option with mcc from inside root folder?
mcc -m plmDCA_asymmetric.m -I functions
Reference: mcc options

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeApplication Deployment についてさらに検索

質問済み:

2015 年 1 月 23 日

コメント済み:

2015 年 1 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by