Setting the MATLAB visible/invisible using the C++ Engine API
3 views (last 30 days)
Show older comments
Hadi Salimi on 2 Nov 2020
Edited: Hadi Salimi on 3 Nov 2020
In C Engine API of MATLAB, it was possible to launch the MATLAB engine in visible or invisible modes like this:
Engine *ep = engOpen("");
// after some work
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::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?
Find more on Start MATLAB and Call Functions from C++ Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!