Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

mcc funtion syntax with quoted text

3 visualizaciones (últimos 30 días)
Jacopo Remondina
Jacopo Remondina el 6 de Nov. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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

Respuestas (0)

La pregunta está cerrada.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by