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

조회 수: 4 (최근 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 CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by