Write text file
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 (2024). Write text file (https://www.mathworks.com/matlabcentral/fileexchange/25933-write-text-file), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |