Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

LCC complie warning on simple function

2 visualizzazioni (ultimi 30 giorni)
Adam
Adam il 21 Mag 2013
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Matlab 2011a internal complier
If you have a function:
SFunction(a,b,c,fn)
save(fn, 'a','b','c');
and you run:
mcc -v -B csharedlib:TKlib -C SFunction.m
should you expect the following output??
Executing command: ""C:\Program Files (x86)\MATLAB\R2011a\bin\mbuild" -O -v -output "TKlib" "TKlib.c" "TKlib.exports" -link shared"
String found where operator expected at (eval 78) line 1, near "'"if exist ''.$ENV{'"
(Missing operator before '.$ENV{'?)
String found where operator expected at (eval 79) line 1, near "'"if exist ''.$ENV{'"
(Missing operator before '.$ENV{'?)
String found where operator expected at (eval 80) line 1, near "'"if exist ''.$ENV{'"
(Missing operator before '.$ENV{'?)
String found where operator expected at (eval 81) line 1, near "'"if exist ''.$ENV{'"
(Missing operator before '.$ENV{'?)
if not, what would cause this??
Thanks...
  1 Commento
Walter Roberson
Walter Roberson il 21 Mag 2013
What is being displayed is Perl code being executed as part of mbuild. I do not know the cause of the difficulty at the moment.

Risposte (1)

Ying Liu
Ying Liu il 23 Set 2015
I have the same thing: String found where operator expected at (eval 78) line 1, near "'"if exist ''.$ENV{'" (Missing operator before '.$ENV{'?) String found where operator expected at (eval 79) line 1, near "'"if exist ''.$ENV{'" (Missing operator before '.$ENV{'?) String found where operator expected at (eval 80) line 1, near "'"if exist ''.$ENV{'" (Missing operator before '.$ENV{'?) String found where operator expected at (eval 81) line 1, near "'"if exist ''.$ENV{'" (Missing operator before '.$ENV{'?)
Seems like this is neither error or warning. The dll and lib are being built. Not sure if they will affect anything.

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by