フィルターのクリア

stand-alone exe's decompose into temp .m's?

5 ビュー (過去 30 日間)
David Pesetsky
David Pesetsky 2018 年 11 月 19 日
コメント済み: Walter Roberson 2018 年 11 月 19 日
Hi-
I have used the Deploy tool to compile a stand-alone exe, but I see that when run, the exe somehow decomposes itself into some constituent .m files in a secret temp folder. This is leading to nstable, unpredictable behavior. I don't know if the temp .m files are depending now on the local DOC command window PATH variable to search for other functions and not finding them... or just that I launch ~64 instances of the exe that are perhaps all sharing that temp folder? Whatever it is, it doesn't work well.
How does all that work... and how do I get a more truly "stand-alone" exe that needs nothing... w/o blowing up the exe size?
Problem has persisted for months :(

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 11 月 19 日
"and how do I get a more truly "stand-alone" exe that needs nothing... w/o blowing up the exe size?"
You would use MATLAB Coder to create the executable. MATLAB Compiler always has the behavior you note.
  6 件のコメント
David Pesetsky
David Pesetsky 2018 年 11 月 19 日
When 2 instances of a "stand-alone" exe are executing, do they use the same temp folder? Can we get each instance to make a new temp?

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

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by