Why do I get the error "'C:\Program' is not recognized as an internal or external command" when using MinGW compiler?
Show older comments
I am trying to use a workflow in MATLAB or Simulink that involves a C/C++ compiler. I've selected MinGW as my compiler as per the "mex -setup" command.
However, I get the following error:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Instead of 'C:\Program', the error message may mention a different incomplete path.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!