MethodsOfMachineLearning/entropy-search

Compatibility issue with MATLAB function 'mexSetTrapFlag' in 'tprod_mex.c' file.

Closed this issue · 2 comments

Thanks for providing this fabulous code. However, I am countering one issue resulted from MATLAB version R2018. When I tried to run the file ExampleSetup.m, it showed the error that 'mexSetTrapFlag' function has been removed since MATLAB R2018, which is called in c-file 'tprod_mex.c' in line 332 and 438. MATLAB pages told me that the function 'mexSetTrapFlag' can be replaced by 'mexCallMATLABWithTrap' which is more flexible. But I am not sure how to edit this change. Is it possible if this problem could be fixed? Thank you so much!

Dear Philip,
Thank you so much for your message. I tried to update the tprod library but the link referred above leads me to the same code as used in this repo. Searched online for a while but didn't find any available updated code of tprod library. I will keep an eye on this issue in future if one day get lucky. Just wanna thank you for your time and help :)