
上QQ阅读APP看书,第一时间看更新
1.5.3 空中交通控制(ATC)雷达仿真模型演示模型
模型运行的操作步骤如下。
1)启动MATLAB。
2)在MATLAB命令行窗口输入“open_system('aero_atc')”直接打开演示程序模型窗口,同时自动启动Simulink,打开模型如图1-6所示。
3)在第2)步中,打开模型的同时会弹出VRML scenes的VRML场景窗口,如图1-7所示。
4)在MATLAB命令窗口输入“sim(' aero_atc ')”进行仿真。
5)运行后,在示波器上显示了仿真结果,实际的飞机范围为黄色,而从雷达上估计的飞机距离则是洋红色,如图1-8所示。

图1-6 程序模型窗口(三)

图1-7 VRML场景窗口(二)

图1-8 仿真运行结果(三)