Engine Library - how can i print text in the Command-Window
显示 更早的评论
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
回答(2 个)
Kaustubha Govind
2011-5-20
engEvalString with the DISP command should do it for you:
engEvalString(ep, "disp('Your text here.');");
Josef
2011-5-23
0 个投票
2 个评论
Kaustubha Govind
2011-5-23
Are you setting engSetVisible to true?
Aly Abdellatif
2022-7-22
That may work for Windows but how to do the same in linux
类别
在 帮助中心 和 File Exchange 中查找有关 Call MATLAB from C 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!