Calling MATLAB scripts from a MATLAB standalone executable
古いコメントを表示
We have designed a large MATLAB standalone executable and we want it to call external .m scripts without them being compiled while creating the executables. The reason we want to do that is to have the flexibilty to make changes in the .m script and not having to compile them everytime. Is it possible to do that?
採用された回答
その他の回答 (1 件)
dpb
2022 年 6 月 23 日
0 投票
Not directly supported, no.
I've not tried building one that uses it, but seems like you should be able to use feval with a dynamic function handle/name that is the name of the function to execute.
1 件のコメント
dpb
2022 年 6 月 24 日
What works during development testing doesn't necessarily translate to compiled version per @Steven Lord's Answer below...and the only warning given is that one doesn't normally need to use feval -- of course, the suggestion to fix hardcodes in the given function so back to same place.
カテゴリ
ヘルプ センター および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!