Matlab Compiler: pathname with spaces

3 次查看(过去 30 天)
bbb_bbb
bbb_bbb 2018-4-5
评论: bbb_bbb 2018-4-10
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 个评论
Walter Roberson
Walter Roberson 2018-4-10
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by