Date: Dec 4, 2012 10:31 AM
Author: Jerome
Subject: Sprintf and Matrix

I am trying to pass my matrix variable from MATLAB to python. Is there a way to do it without using for loops? In the example, the first element is passed but not corresponding values

For example
A = magic(5);
[str,err] = sprintf('/usr/local/python %d', A);