Changeset 16


Ignore:
Timestamp:
Feb 17, 2010, 9:14:17 PM (11 years ago)
Author:
gostiaux
Message:

In windows, the fprintf command has troubles with / characters; the / needs to be replaced by , this is done now in CIV1_CALLBACK, needs to be done in other routines if it is OK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r12 r16  
    35053505%               dlmwrite(filename_cmx,textout,'');
    35063506       
    3507        
     3507        filename_ima
     3508        filename_ima_1
    35083509     fid=fopen([filename_cmx],'w');
    35093510fprintf(fid, ['##############   CMX file' '\n']);
    3510  fprintf(fid,   ['FirstImage ' filename_ima '\n' ]);
    3511  fprintf(fid,   ['LastImage  ' filename_ima_1 '\n' ]);
     3511 fprintf(fid,   ['FirstImage ' regexprep(filename_ima,'\\','\\\\') '\n' ]);
     3512 fprintf(fid,   ['LastImage  ' regexprep(filename_ima_1,'\\','\\\\') '\n' ]);
    35123513  fprintf(fid,  ['XX' '\n' ]);
    35133514  fprintf(fid,  ['Mask '  maskflag '\n' ]);
Note: See TracChangeset for help on using the changeset viewer.