Matlab Compiler: pathname with spaces

If I run a command (in Matlab Command Window or in m-script)
mcc -C -o Myprog -W WinMain:Myprog -T link:exe -d "C:\Program Files" ...
then it gives
Error using mcc
The output directory,
'"C:\Program'
does not exist.
How can I specify path with spaces?

2 comentarios

Walter Roberson
Walter Roberson el 10 de Abr. de 2018
Which release are you using? With some of the older releases you could not use spaces. The newer releases slam various parts of the command together without really using proper quotes but the underlying code somehow parses it.
bbb_bbb
bbb_bbb el 10 de Abr. de 2018
R2015a

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre C Shared Library Integration en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 5 de Abr. de 2018

Comentada:

el 10 de Abr. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by