User`s guide

Building for the Rapid Simulation Target
13-5
real-time target, on the other hand, is a starting point for targeting a new
processor.
A single build of your model can be used to study effects from varying
parameters or input signals. Command line arguments provide the necessary
mechanism to specify new data for your simulation. This table lists all
available command line options.
<-f> Specifying a New Signal Data File for a From File Block
To understand how to specify new signal data for a From File block, create a
working directory and cd to that directory. Open the model
rsimtfdemo by
typing
rsimtfdemo
Table 13-1: rsim Command Line Options
Command Line Option Description
model -f old.mat=new.mat
Read From File block input signal data from
areplacementMAT-file.
model -o newlogfile.mat
WriteMAT-fileloggingdatatoafilenamed
newlogfile.mat.
model -p filename.mat
Read a new (replacement) parameter vector
from a file named
filename.mat.
model -s <stoptime>
Run the simulation until the time value
<stoptime> is reached.
model -t old.mat=new.mat
The original model specified saving signals
to the output file
old.mat.Forthisrunuse
the file
new.mat for saving signal data.
model -v
Runinverbosemode.
model -w workspace.mat
After you have saved all workspace signal
data to a MAT-file (as structures), this
option allows you to select a new MAT-file
containing a different set of signal data.
This includes all supported data types.