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!