Conversion of coordinates using cs_convert

Dear BrainStorm support team,

When I compare the result of the cs_convert command line and the online display of coordinates.
In this example, I used Colin27 template brain and 10-20 (19 positions) montage.
I guess I missed a step while using the Matlab command but I fail to find out which one. since the coordinates are pretty different.

Any input would be helpful, I'm sure.
Sorry for the replication of this topic.

Best,
Gaëlle.

When using cs_convert directly, the coordinates in input must be in meters, not in millimeters.
You should use something like this:
cs_convert(sMri, ‘mni’, ‘scs’, [-53 -87 44] ./ 1000) .* 1000

See the corresponding documentation here:
http://neuroimage.usc.edu/brainstorm/CoordinateSystems#Converting_between_coordinate_systems

Thanks a lot.

Gaëlle.