User`s guide

isreadable
Purpose Determine whether MATLAB software can read specied memory block
Note Support for isreadable(rx,'channel') on C5000 and C6000
processors will be removed in a future version.
Syntax isreadable(cc,address,'datatype',count)
isreadable(cc,address,
'datatype')
isreadable(rx,'channel')
Description isreadable(cc,address,'datatype',count) returns 1 if the processor
referred to by
cc can read the memory block dened by the address,
count,anddatatype input arguments. When the processor cannot
read any p ortion of the specied memory block,
isreadable returns 0.
Youusethesamememoryblockspecication for this function as you
use for the read function.
The data b lock being tested begins at the mem ory location dened by
address. count determines the number of values to be read. datatype
denes the format of data stored in the m emory block. isreadable
uses the datatype string to determine the number of bytes to read per
stored value. For details about each input parameter, read the following
descriptions.
address isreadable uses address to dene the beginning of the
memory block to read. You provide value s for addres s as either decimal
or hexadecimal representations of a memory 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
digitalsignalprocessors,thepage portion of the memory address is 0.
By default,
ticcs setsthepageto0 at creation if you omit the page
property as an input a rgument. For processors that have one memory
page, setting the page value to 0 lets y ou specify all memory locations in
the process or using the memory location without the page value.
7-68