Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

mcc funtion syntax with quoted text

조회 수: 3 (최근 30일)
Jacopo Remondina
Jacopo Remondina 2019년 11월 6일
마감: MATLAB Answer Bot 2021년 8월 20일
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개)

이 질문은 마감되었습니다.

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by