What do the return values from the engOpen and engOpenSingleUse functions mean when there is a failure to open MATLAB?
4 次查看(过去 30 天)
显示 更早的评论
I am trying to use the MATLAB engine from my C application to call into MATLAB . However, my application fails to open MATLAB when I use the engOpenSingleUse function. It returns a failure code, but I cannot determine what the return value means.
采纳的回答
MathWorks Support Team
2009-6-27
There are only three return results for the engOpenSingleUse function:
0 = success
-2 = error - second argument must be NULL
-3 = error - engOpenSingleUse failed
You should try reregistering MATLAB on those systems that it fails on, as shown here:
For more information on the engOpenSIngleUse function, issue the following command at the MATLAB prompt:
doc engOpenSingleUse
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 ActiveX 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!