Use an existing interactive MATLAB session with MATLAB Engine application
7 次查看(过去 30 天)
显示 更早的评论
How can I use an already running interactive MATLAB session as the computation engine for a MATLAB Engine application? I'm quite certain that I read that this was possible on Windows, if the interactive session was started in a special way. But I am having a hard time finding it in the documentation.
Any pointers would be most appreciated.
Clarification: in other words, I want to share the workspace between an interactive MATLAB session (full GUI) and an Engine application's MATLAB.
2 个评论
Ken Atwell
2013-8-27
Can you elaborate a bit more on what you are trying to do? My initial reaction is, "why bother with the engine interface at all when there is an interactive session of MATLAB already running?"
回答(2 个)
Kaustubha Govind
2013-8-27
I think you need to start MATLAB with the -automation flag from a command window to start it up as a COM Server. Not sure whether you can also use this as an interactive session also though.
另请参阅
类别
在 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!