Info
この質問は閉じられています。 編集または回答するには再度開いてください。
mcc funtion syntax with quoted text
1 回表示 (過去 30 日間)
古いコメントを表示
Hi everyone,
I want to deploy my software as a stand-alone executable.
For doing so, I decided to go for the mcc command (tried also the application compiler app, but it's messing up a bit with the included files, so I wanted to tried it). Since my software is quite complex, I decided to use the function syntax
mcc(options)
so that I can build the various options at runtime. Since I want an executable I'm running it using
mcc("-W ""main:,version=0.1.0.0 -T link:exe"" target.m")
but it complain about the fact that option "-x" is no longer supported. In this MWE I think that the problem is the "x" in "link:exe", but in my full code I'm using such letter lots of times (so avoiding it it's not an option).
I tried the MWE with all the single/double quotes combination for the full command and the quoted text, but with no success. Instead, the command syntax
mcc -W 'main:,version=0.1.0.0' -T link:exe target.m
works perfectly (but again: I cannot use it).
Any idea on how to fix this?
Thanks,
Jacopo
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!