User`s guide

iswritable
For processors that have one memory page, setting thepagevalueto0
lets you specify all memory locations in the processor using the memo ry
location without the page value.
Examples of Address Property Values
Property
Value Address Type Interpretation
1F
String
Location is 31 decimal on the
page referred to by
cc.page
10
Decimal
Addressis10decimalonthe
page referred to by
cc.page
[18,1] Vector
Address location 1 0 decimal
on memory page 1 (
cc.page
=1
)
To specify the address in hexadecimal format, enter the address
property value as a string .
iswritable interprets the string as the
hexadecimal representation of the desired memory location. To conv ert
the hex value to a decimal value, the function uses
hex2dec.Notethat
when you u se the string option to enter the address as a hex value, you
cannot specify the mem ory page. For string input, the memory page
defaults to the page specied by
cc.page.
count a numeric scalar or vector that denes the number of datatype
values to test for b eing writable . To assure parallel structure with
write, count can be a vector to dene multidimensional data blocks.
This function always tests a block of data whose size is the total number
of elements in matrix specied by the input vector. If
count is the
vector[101010]
iswritable(cc,31,[10 10 10])
iswritable
writes 1000 values (10*10*10) to the processor. For a
two-dimensional matrix dened with
count as
iswritable(cc,31,[5 6])
7-78