
Step 2.3 Enabling secondary IDE
Go to xPC Explorer, under TargetPC1> Configuration> Settings and enable “Enable Secondary IDE” (see
figure above). This will allow you to store data on the CF card. This data can be anything starting from
error messages, A/D readings, serial port inputs etc.
Step 3 Model file Configuration
This needs to be done for every real time model you build. However unlike the setup processes in step 1
and step 2, these configurations are local to individual files. Since, the model files will be saved (not on
the lab computers); these configurations will not require redoing every time unless you specifically want
to change them.
Go to MATLAB main window, then click on File> New> Model
A new Simulink model file will appear. Then go to Simulink> Configuration Parameters as shown above.
In the window that appears set “Fixed step size” based on the lowest sample time you want to use on your
model (see figure below).
Commenti su questo manuale