Why is dos() crashing my executable?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!