User`s guide

write
It may be more conv enient to return the data in an array. If you enter
a vector for
count, mem contains a matrix of d imensions the same as
vector
count.
write(cc,10,1:100);
mem=read(cc,10,'double',[10 10])
mem =
1112131415161718191
2122232425262728292
3132333435363738393
4142434445464748494
5152535455565758595
6162636465666768696
7172737475767778797
8182838485868788898
9192939495969798999
10 20 30 40 50 60 70 80 90 100
Write an array of 16–bit integers at the location o f target symbol data.
write(cc,address(h,'data'),int16([1:100]))
Write a single-p reci sion, IEEE oating-point value (32-bits) at address
FF00(Hex ).
write(cc,'FF00',single(23.5))
Write a 2-D array of integers in row-major (C-s ty le ) format a t address
65280 (decimal).
mlarr = int32([1:10; 101:110])
write(cc,65280,mlarr')
See Also read, symbol
7-163