strawlab / pyopy

Python bindings to interesting matlab libraries for data analysis
Other
86 stars 16 forks source link

Matlab Freezes #15

Open Adblu opened 4 years ago

Adblu commented 4 years ago

The problem I have is the following:

The code is:

set_false_flag()
_ = hctsa.prepare()     # Here Matlab freezes
elevation_data = get_data()
features_data = get_features(elevation_data)
save_data(features_data)
set_true_flag()
print "Done"

this code is packed into a method and repeated in a loop ~20000 times. The problem is that on 14 iteration Matlab for some reason freezes.

Those are the log messages.

Starting engine
Warming up
Configuring HCTSA
Setting up HCTSA operators        (STUCK AT THIS PLACE)
Hooray, we can use HCTSA now...  

How I can solve it ? Maybe running it in a loop so many times is a bad idea ?! Is is possible to set up Matlab running one globally and then use its functions ?