Reads the characters in a file until reaching request_length of characters read. Reads until a new line or end of file if request_length is not provided.
This function writes output to a file using the printfformat_string capabilities. The first argument is a fileID returned from an earlier call to fopen.
Updates a file name from oldname to newname. Returns 0 if successful and non-zero otherwise. An optional output argument, errormessage, can be used to retrieve any additional system error messages on failure.
Closes an Excel file opened through the command, xlsopen, and whose details are in data with functions defined in omlxlstoolbox. xlsclose is available only on Windows systems where Microsoft Excel is installed.
Opens an Excel compatible file, file, and stores the information in R using functions defined in omlxlstoolbox. xlsopen is available only on Windows systems where Microsoft Excel is installed.
Writes data to file, which is either an Excel-compatible file or a structure returned from xlsopen. This command is only available on Windows at this time.
fflush
Flush buffered output to fileID to be written the file.
fgetl
Reads the characters in a file until reaching request_length of characters read. Reads until a new line or end of file if request_length is not provided.
fgets
Reads the characters in a file until hitting len of characters read, a new line or end of file if len is not provided.
fileparts
Returns the directory, name, and extension components of the file filepath.
fopen
Opens a file, filename, for read/write operations.
fprintf
This function writes output to a file using the printfformat_string capabilities. The first argument is a fileID returned from an earlier call to fopen.
fread
Reads the binary data of the precision type from the file fileID.
frewind
Moves the file pointer to the beginning of the file fileID. Returns 0 on success.
fscanf
Returns result R after reading a formatted data from file handle, f, specified by template t.
fseek
Sets the file pointer to a position in fileID. Returns 0 if successful; returns -1 if unsuccessful.
ftell
Returns the current position of the file pointer.
fullfile
Returns a filename from dir1...dirN and filename fname.
rename
Updates a file name from oldname to newname. Returns 0 if successful and non-zero otherwise. An optional output argument, errormessage, can be used to retrieve any additional system error messages on failure.
SEEK_CUR
Used in the fseek function to change the file position relative to the current file position.
SEEK_END
Used in the fseek function to change the file position relative to the end of the file.
SEEK_SET
Used in the fseek function to change the file position relative to the beginning of the file.
stderr
Returns the file ID corresponding to the error stream.
stdin
Returns the numeric file ID corresponding to the standard input stream of the application console mode.
stdout
Returns the numeric file ID corresponding to the standard output stream of the application console mode.
textread
Returns result R after reading a formatted data from a file, f, specified by an optional template, t.
textscan
Returns result R after reading a formatted data from a file stream \, f, or string, s.
unzip
Extracts file(s) from the archive, archive, and is defined in the omlziptoolbox.
xlsclose
Closes an Excel file opened through the command, xlsopen, and whose details are in data with functions defined in omlxlstoolbox. xlsclose is available only on Windows systems where Microsoft Excel is installed.
xlsfinfo
Provides information relevant to spreadsheets in file. This command is only available on Windows at this time.
xlsopen
Opens an Excel compatible file, file, and stores the information in R using functions defined in omlxlstoolbox. xlsopen is available only on Windows systems where Microsoft Excel is installed.
xlsread
Reads data, which is an Excel-compatible file or a structure returned from xlsopen. This command is only available on Windows at this time.
xlswrite
Writes data to file, which is either an Excel-compatible file or a structure returned from xlsopen. This command is only available on Windows at this time.
zip
Archives the file(s), files, and is defined in the omlziptoolbox.