Why is dos() crashing my executable?
1 回表示 (過去 30 日間)
古いコメントを表示
I'm using a MATLAB script to run a standalone executable I wrote (C++) several times, each time with different inputs. This has been working perfectly up until the point I updated my standalone executable with parallelized code. Now, both the dos() and system() functions will cause my executable to crash immediately, whereas it runs fine when called outside of MATLAB.
I've even tried writing a "middleman" executable, which is called by the MATLAB script and in turn calls the parallelized executable, but I see the same behavior. What is it about the way MATLAB calls external programs that causes a program that functions perfectly well on its own to crash the moment it's called?
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!