Borrar filtros
Borrar filtros

Info

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

LCC complie warning on simple function

2 visualizaciones (últimos 30 días)
Adam
Adam el 21 de Mayo de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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 comentario
Walter Roberson
Walter Roberson el 21 de Mayo de 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.

Respuestas (1)

Ying Liu
Ying Liu el 23 de Sept. de 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.

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by