mfprintf and vector
Rudy Magne
rudy.magne at shom.fr
Tue Mar 17 10:47:57 CET 2009
Dear All,
Is is possible to write in a text file a (1,nx) vector with 3 components
per lines (as it is available in matlab or fortran) with a defined
format (see below)?
ex: fprintf(fid,"%10f.4 %10f.4 %10f.4 \n", vector(1:nx))
I have tried with mfprintf or mtlb_fprintf without succes. fprintfMat
would have done the job but it is then not possible to write before and
after the written matrix.
Regards,
Rudy
--
-------------------------
Rudy Magne
SHOM/HOM/REC
Vagues et domaine littoral
13 rue du Chatellier, 29609 BREST Cedex
Tel: (33) 2 98 149 936
Fax: (33) 2 98 221 864
More information about the users
mailing list