fseek
📝 Syntax
📥 Input argument
📤 Output argument
📄 Description
💡 Example
🔗 See also
🕔 History
Version
📄 Description
Last updated
Last updated
fileID = fopen([tempdir(), 'fseek.txt'],'wt');
fprintf(fileID, 'son is beautiful.');
fseek(fileID, SEEK_CUR, 'bof');
fprintf(fileID, 'sun');
fclose(fileID);
R = fileread([tempdir(), 'fseek.txt'])