Setting the MATLAB visible/invisible using the C++ Engine API
1 次查看(过去 30 天)
显示 更早的评论
In C Engine API of MATLAB, it was possible to launch the MATLAB engine in visible or invisible modes like this:
Engine *ep = engOpen("");
engSetVisible(ep, true);
// after some work
engSetVisible(ep, false);
How I can do this on C++ Engine API? I expected a code like this, but setVisible method does not exist in MATLABEngine class.
std::vector<matlab::engine::String> ops;
ops.push_back(u"-batch");
std::unique_ptr<matlab::engine::MATLABEngine> engine = matlab::engine::startMATLAB(ops);
engine->setVisible(true); // no such a function exist
Does anyone know how to do this using Matlab C++ engine API?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 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!