User`s guide
iswritable
Purpose Determine whether MATLAB softw are can write to specified memory
block
Note Support for iswritable(rx,'channel') on C5000 and C6000
processors will be removed in a future version.
Syntax iswritable(cc,address,'datatype’,count)
iswritable(cc,address,
'datatype')
iswritable(rx,'channel')
Description iswritable(cc,address,'datatype’,count) returns 1 if MATLAB
software can write to the m emory block defined by the
address, count,
and
datatype input arguments on the p rocess or referred to by cc.When
the processor cannot write to any portion of the specified memory block,
iswritable returns 0. You use the same memory block specification for
this function as you use for the write function.
The data b lock being tested begins at the mem ory location defined by
address. count determines the number of values to write. datatype
defines the format of data stored in the m emory block. iswritable
uses the datatype parameter to d etermine the number of bytes to
write per stored value. For details about each input parameter, read
the following descriptions.
address — iswritable uses address to define the beginning of the
memory block to write to. You provide values for
address as either
decimal or hexadecimal representations of a mem ory location in the
processor. The full address at a memory location consists of two parts:
the offset and the memory page, entered as a vector [
location, page], a
string, or a decimal value. When the processor has only one memory
page, as is true for many digital signal processors, the page portion
of the memory address is 0. B y default,
ticcs sets the page to 0 at
creation if you omit the page property as an i nput argument.
7-77