Write text file

Version 1.0.0.0 (1.41 KB) by SamGhim
write_txt_file - creates a .txt file with desired information as specified by "info_str)
636 Downloads
Updated 23 Nov 2009

View License

write_txt_file - creates a .txt file with desired information as
specified by "info_str)

function calls :
WRITE_TXT_FILE(LOGPATH,FILENAME,INFO_STR)

LOGPATH = pathname (as a string) to the folder where the file is to be saved, ex: 'C:\Desktop'
FILENAME = name of the file (as a string), ex: 'test.txt'
INFO_STR = information that you want to be written in the file, ex: a variable or a string such as 'testing file'

Cite As

SamGhim (2026). Write text file (https://ch.mathworks.com/matlabcentral/fileexchange/25933-write-text-file), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0.0