From: Pouria on 21 Dec 2009 16:56 running to the same problem using Pymat module to call matlab engine from python. I am running a brain segmentation script both using matlab command line itself and through the pymat module from python. the results are not the same and i think it has something to do with this failure to initialize warning, my plan is to implement a delay and see if that cures it. -P leong <kahleong.koo(a)shawgrp.com> wrote in message <eeec585.-1(a)webx.raydaftYaTP>... > Hi, > > Previously Ken Fisher posted a message on warnings by Matlab which > goes --- "Warning: Handle array initialization failed". This happens > while you close and then reopen Matlab during the same session. It is > perfectly fine during the first Matlab opening. > > With MatlabR14, now there is an additional warning which goes --- > "Warning: MCOS initialization failed". > > I am sure I have deallocated all the memory used before closing using > engClose(..) and then reopening again using engOpen(..). > > Previously, LePhan suggested using engOpen(..) in constructor and > engClose(..)destructor approach to do this. I have not tried this as > I am not using C++. > > I am using ANSI C in my program and I am doing this operation in > separate C-functions - one for opening and one for closing. Is anyone > else experiencing this problem and offer any help? > > Thanks, > Leong.
|
Pages: 1 Prev: Mapping a random walk to another spatial grid Next: deploytool doesnt work |