lua---mattorch
lua---mattorch copied to clipboard
An interface between Torch and Matlab
Hi, I wanted to ask whether it is possible to use the package without having MATLAB installed on the system.
Because of my needs, I modified your code to be able to support to read mxCELL_CLASS and mxSTRUCT_CLASS. Would you pull my changes your orignal branch?
Includes https://github.com/clementfarabet/lua---mattorch/pull/7 Also fixes deprecated luaT_checktypename2id warnings on build
Strange that we had to add THDoubleTensor_free(tensor); to remove the leak, but it works well.
-- mattorch.save causes torch to crash if the destination folder does not exist. Example: $ torch t7> require 'mattorch' t7> x = torch.Tensor(5) t7> mattorch.save('/home/avi/Code/test.mat', x) --folder exists -> works...