Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

thx to logix in the irc channel I found a workaround to complete the circle, saved a struct to 'test.mat' file and then reload through scipy:

import scipy.io 
mat = scipy.io.loadmat('test.mat') 
print mat['test_struct'] 
M =matrix(mat['test_struct']) 
matlab("%s'" % 
matlab.sage2matlab_matrix_string(M))