"Invalid color or line style." Error during plotting in Executable
이전 댓글 표시
I am trying to plot a figure with an executable created by "compiler.build.standaloneApplication".
The function I am using is;
function dummyFunction1(a,b)
plot([1 2],[a b]);
end
And the code for executable generation;
appFile = fullfile('D:\testFolder\dummyFunction1.m');
opts = compiler.build.StandaloneApplicationOptions(appFile,'OutputDir','D:\testFolder');
results = compiler.build.standaloneApplication(opts);
Here is the problem;

Any help would be great.
채택된 답변
추가 답변 (1개)
GAJENDRA TELI
2023년 6월 23일
0 개 추천
you should check the color or line style in dummyFunction1 and change both by some other vlue and then run the program and check the output result.
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
