User`s guide
Memory Copy
• Specified address — This source reads the data at the
specified location in Specify address s ou rce and A ddress .
•
Specified source code symbol —Thissourcetellsthe
block to read the symbol (variable) you enter in Source code
symbol. When you select this copy fro m option, y ou enable the
Source code symbol parameter.
Note If you d o not select Input port for Copy from, change
Data type from the default
Inherit from source to one of
the data types on the Data type list. If you do not make the
change, you receive an error message that the data type cannot
be inherited because the input port does not exist.
Depending on the choice you make for Copy from,youseeother
parameters that let you configurethesourceofthedatatocopy.
Specify a ddr es s source
This parameter directs the block to get the address for the
variable either from an entry in Address or from the input port to
the b lock. Select either
Specify via dialog or Input port from
the list. Selecting
Specify via dialog activates the Add ress
parameter for you to enter the address for the variable.
When you select
Input port, the port label on the block changes
to
&src, indicating that the block expects the address to come
from the input port. Being able to change the a ddress dynamically
lets you use the block to copy different variables by providing the
variable address from an upstream block in your model.
Source code symbol
Specify the symbol (variable) in the source code symbol table
to copy. The symbol table for your program must include this
symbol. The block does not verify that the symbol exists and uses
valid syntax. Enter a string to specify the symbol exactly as you
use it in your code.
9-30