Writes MicroDAQ memory
mdaqMemWrite(index, data) mdaqMemWrite(linkID, index, data)
This function writes MicroDAQ memory. Together with 'MEM Read' block, function can be used in Standalone and Ext applications to change its parameters.
linkID: Valid connection link ID (optional)
start: MicroDAQ memory start index
data: Data to be written to MicroDAQ memory
// mdaqMemWrite usage example // write 10 values to MicroDAQ memory at beginning index 5 // those values will be stored under 5-15 indexes data = ones(1, 10); mdaqMemWrite(5, data); |