| |||
| Home > Model Debugger Scripting Functions > Model resource access > memLoadFromFile() | |||
int memLoadFromFile(stringfilename, boolisASCIIMode, stringmemspace, intstartAddress, intendAddress)
Read data from the file and
write to memory space filename starting
at address memspace and
stop when address startAddress is
reached. The file format can be either binary or ASCII. The value
of endAddress must
be True for ASCII file format and False for binary. isASCIIMode
If no memory space with the name exists,
then a run time error occurs. The size of the access is determined
by the Minimum Addressable Unit (MAU) size
defined for that memory space. The MAU is the size of one memory
word. memspace