Engine Library - how can i print text in the Command-Window
Ältere Kommentare anzeigen
Hy there,
I'm starting with the Engine-Libary-API and I'm very enthused about the amazing possibilities with Matlab-Engine Calling from an application.
But there is still a big question:
How can i print some Text to the Command Window (which appears, when i start the Engine-Session with "engOpen") ???
Best Regards,
Josef
Antworten (2)
Kaustubha Govind
am 20 Mai 2011
engEvalString with the DISP command should do it for you:
engEvalString(ep, "disp('Your text here.');");
Josef
am 23 Mai 2011
0 Stimmen
2 Kommentare
Kaustubha Govind
am 23 Mai 2011
Are you setting engSetVisible to true?
Aly Abdellatif
am 22 Jul. 2022
That may work for Windows but how to do the same in linux
Kategorien
Mehr zu Call MATLAB from C finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!