Why am I unable to see a plot in my MATLAB function that I am calling through C# and COM in MATLAB 7.3 (R2006b)?

조회 수: 1 (최근 30일)
I am unable to see a plot in my MATLAB function that I am calling through C# and COM in R2006b. The program seems to execute properly, but I do not see the plot that my MATLAB function creates.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
This behavior can occur when your C# application terminates before the MATLAB plot stays on the screen long enough for you to see it. You need to keep the C# program running while it instantiates the MATLAB object and calls the plotting function.
Consult your C# documentation for methods to determine when the user has viewed the plot and is ready to quit your application.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Write COM Applications to Work with MATLAB에 대해 자세히 알아보기

제품


릴리스

아직 릴리스를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by