Hi all,
I am using the mlabwrap module in python for my thesis and I have encountered an error : some times when I call my matlab function from my python code it stops and shows this error " mlabrap.error: Subscript indices must be either real positive integers or logicals" and the line where this error occured:"l=mlab .tetris_learn(s umm[2:442])" The funny thing is that this error occurs sometimes after this line was executed with no problem before.In other words,when my main python code is executed for a number of iterations,this error occurs either in the second or third iteration.Any ideas,
Thanks in advance,
steve
I am using the mlabwrap module in python for my thesis and I have encountered an error : some times when I call my matlab function from my python code it stops and shows this error " mlabrap.error: Subscript indices must be either real positive integers or logicals" and the line where this error occured:"l=mlab .tetris_learn(s umm[2:442])" The funny thing is that this error occurs sometimes after this line was executed with no problem before.In other words,when my main python code is executed for a number of iterations,this error occurs either in the second or third iteration.Any ideas,
Thanks in advance,
steve
Comment