User`s guide

Advanced Troubleshooting
12-25
For example, if a model has a stop time of 2.4 and a step size of 1, Real-Time
Workshop adjusts the stop time of the model to 2 at compilation. If you change
the step size to .6 but do not recompile the code, the expected number of steps
is 4, but the actual number of steps is 3. This is because Real-Time Workshop
still uses the adjusted stop time of 2.
To avoid this problem, ensure that the original stop time (as specified in the
model) is an integral multiple of the original step size.
Why Do I Get File System Disabled Error?
If your target PC does not have a FAT hard disk, the monitor on the target PC
displays the following error:
ERROR -4: drive not found
No accessible disk found: file system disabled
If you do not want to access the target PC file system, you can ignore this
message. If you want to access the target PC file system, add a FAT hard disk
to the target PC system and reboot.
Why Does the getparamid Function Return Nothing?
The getparamid and getsignalid functions accept block_name parameters.
For these functions, enter for
block_name the mangled name that Real-Time
Workshop uses for code generation. You can determine the
block_name as
follows:
If you do not have special characters in your model, use the
gcb function.
If the blocks of interest have special characters, retrieve the mangled name
with
tg.showsignals='on' or tg.showparam = 'on'.
For example, if carriage return
'\n' is part of the block path, the mangled
name returns with carriage returns replaced by spaces.
How Can I Diagnose Network Problems with xPC Target?
If you experience network problems when using xPC Target, refer to The
MathWorks Support xPC Target Web site
(
http://www.mathworks.com/support/product/XP). This Web site has the
most up-to-date information about this topic.