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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
MathWorks Support Team
am 27 Jun. 2009
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Write COM Applications to Work with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!