C
Lua
Objective-C
| Failed to load latest commit information. | |||
|
|
mattorchlive |
|
|
|
|
CMakeLists.txt |
|
|
|
|
FindMatlab.cmake | ||
|
|
README.txt |
|
|
|
|
init.lua |
|
|
|
|
mattorch-1.0-0.rockspec |
|
|
|
|
mattorch.c |
|
|
|
|
mattorchlive.c |
|
|
|
|
mattorchlive.h |
|
|
|
|
test.mat |
|
|
README.txt
DEPENDENCIES: Torch7 (www.torch.ch) INSTALL: $ torch-rocks install mattorch USE: $ torch > require 'mattorch' -- save: > tensor1 = torch.Tensor(...) > tensor2 = torch.Tensor(...) > tensor3 = torch.Tensor(...) > mattorch.save('output.mat', tensor1) -- OR > list = {myvar = tensor1, othervar = tensor2, thisvar = tensor3} > mattorch.save('output.mat', list) ]] -- load: > loaded = mattorch.load('input.mat')