mclIsMCRInitialized crashes if mclInitializeApplication not yet called
显示 更早的评论
mclIsMCRInitialized crashes if mclInitializeApplication has not been called. It returns 1, as expected, if mclInitializeApplication has been called.
I know mclInitializeApplication is supposed to be the first function called to initialize the MCR, but surely mclIsMCRInitialized should behave sanely (and return 0) rather than crash. What am I missing?
回答(4 个)
Titus Edelhofer
2011-7-4
1 个投票
Hi Guy,
from my personal view I guess you are missing nothing. I will ask our development to look into this ...
Titus
Benjamin Guinot
2012-2-17
0 个投票
Hi,
I have the same problem (32-bit Windows). Have you made any progress on this problem?
Thank you
Ben
Friedrich
2012-2-17
Hi,
the problem here is that the proxy library has not been initialized. To initialize these libraries call:
mclmcrInitialize()
first. This will NOT start the MCR, it simply initializes the libs so the call to mclIsMCRInitialized doesnt crash anymore. As far as I know this command is save. You can call it as often as you want and it doesnt need the MCR running.
(This command isnt documented but used in the matrixdriver example)
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!