フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

LCC complie warning on simple function

2 ビュー (過去 30 日間)
Adam
Adam 2013 年 5 月 21 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Walter Roberson
Walter Roberson 2013 年 5 月 21 日
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.

回答 (1 件)

Ying Liu
Ying Liu 2015 年 9 月 23 日
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.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by