Why does CLA RESET not compile with MCC from OS command line in MATLAB 6.5 (R13SP1)?
2 views (last 30 days)
Show older comments
Why does CLA RESET not compile with MCC from OS command line MATLAB 6.5 (R13SP1)?
I have the following function:
function test_graphics_mcc( power )
x=-10:.1:10;
y=x.^power;
plot(x,y);
title(sprintf('x^%i',power));
xlabel('x');
ylabel('y');
cla reset;
When I compile using mcc from MATLAB's command prompt, I have no problem. If I do it from a shell, I receive the following error:
!mcc -m -B sgl test_graphics_mcc
Error: File: test_graphics_mcc Line: 9 Column: 5
Missing operator, comma, or semicolon.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This is a bug in MATLAB Compiler 3.0.1 (R13SP1) in the way that the Compiler handles command function duality. Our development staff is investigating this issue.
Currently, to work around this issue, try the following:
cla('reset');
Or, you can compile from within MATLAB.
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!