File Access Functions |
The following functions are useful for reading various file types into Mathcad arrays. Descriptions are grouped by file type.
![]() |
Data Files |
READFILE Reads an array of values from delimited, fixed width, or Excel data files.
READPRN, WRITEPRN, APPENDPRN Read and write an array of values from/to ASCII data files.
READBIN, WRITEBIN Read and write an array of values from/to binary data files.
![]() |
Image Files |
READ_IMAGE Reads grayscale images.
READBMP, WRITEBMP Read and write grayscale bitmap images.
READRGB, WRITERGB Read and write RGB images stored as simple packed matrices. Other specialized functions for image reading and writing are described in this section.
![]() |
Sound Files |
READWAV, WRITEWAV Read and write arrays containing signal amplitudes in WAV files.
GETWAVINFO("file") Creates a vector containing information about a WAV file.