fprintf - Emulator of C language fprintf function
Obsolete function, use preferabily the mfprintf function which is much more compatible with the C fprintf functionalities.
The fprintf function converts, formats, and writes its value parameters, under control of the format parameter, to the file specified by its file parameter.
The format parameter is a character string that contains two types of objects:
If any value s remain after the entire format has been processed, they are ignored.
u=file('open','results','unknown') //open the result file t=0:0.1:2*%pi; for tk=t fprintf(u,'time = %6.3f value = %6.3f',tk,sin(tk)) // write a line end file('close',u) //close the result file
mfprintf , string , print , write , format , disp , file , printf , sprintf ,