The table shows that the linearizations are not computed at exactly every 30 min but at
small variations of 30 min. This is because zero-crossing detection for the block is not
enabled. Enabling zero-crossing for the block ensures that the linearizations are
computed at exactly 30 min intervals but may increase the time the simulation takes to
run.
You can select the Enable zero-crossing detection option in the Block Parameters
dialog box or use the block command line API to enable zero-crossing detection:
set_param('scdaircraft/Check Gain and Phase Margins','ZeroCross','on')
sim('scdaircraft');
Warning: Assertion detected in 'scdaircraft/Check Gain and Phase Margins' at
time 27000
Logging the Linear Systems
The Logging tab in the Check Gain and Phase Margins block specifies that the
computed linear systems be saved to a workspace variable.
14 Model Verification