# How to convert matrix of matlab to Imagej macro language array?

How can convert the output of a matalab script which is matrix as input in the macro language?

You can use Table.

Example: Matlab
A = rand(20);csvwrite('toimagej.csv',A);
ImageJ
Table.open("C:\\path\\to\\file\\toimagej.csv");

1 Like