None.
Open in the MATLAB editor: x04bb_example
function x04bb_example fprintf('x04bb example results\n\n'); % Filename and asociated unit number file = 'foo.data'; iounit = int64(4); % Open file for writing mode = int64(1); [ifail] = x04ac(iounit, file, mode); % Write line to file x04ba(iounit, ' 20 2.996'); % Close file [ifail] = x04ad(iounit); % Reopen file for reading mode = int64(0); [ifail] = x04ac(iounit, file, mode); % Read line from file reclin = int64(40); [recin, ifail] = x04bb(iounit, reclin); disp(recin); % reclose file [ifail] = x04ad(iounit); delete(file)
x04bb example results 20 2.996