Main Content

write

Class: target.DebugIOTool
Package: target

Write byte stream to variable in memory

Syntax

errFlag = myDebugIOTool.write(byteStream, variable)

Description

errFlag = myDebugIOTool.write(byteStream, variable), through the debugger, writes the specified byte stream to the variable in memory. The method returns an error flag.

Input Arguments

expand all

Byte stream to write to memory.

Example: ef = myDebugIOTool.write('myByteStream', myVariable)

Destination variable in memory.

Example: ef = myDebugIOTool.write('myByteStream', myVariable)

Data Types: uint64

Output Arguments

expand all

Outcome of the write operation:

  • true –– Error occurred during write operation.

  • false –– Write operation completed.

Version History

Introduced in R2021a