Hi Alain,
you can type
help mechanicalproperties
you will see some examples. Basically, you need to provide horizontal velocities:
% Example:
% md=mechanicalproperties(md,md.initialization.vx,md.initialization.vy);
% md=mechanicalproperties(md,md.inversion.vx_obs,md.inversion.vy_obs);
I realized on your other post that there is a bug in the current public branch that will be fixed soon.
Best,
Mathieu