www.gusucode.com > simulinkcoder 案例源码程序 matlab代码 > simulinkcoder/ModelDataSpecificationsWithBusSignalsExample.m
%% Model Data Specifications with Bus Signals % Simulink(R) buses and bus objects are powerful modeling constructs that provide % excellent data specification capabilities, particularly to specify system interfaces. %% Open Example Model % Open the example model |rtwdemo_slbus|. open_system('rtwdemo_slbus'); %% % To view the signal attributes for this model, on the model toolbar, % choose *Simulation > Update Diagram*, or press *Ctrl+D*. To view the Simulink bus objects in the base % workspace, double-click the yellow button in the model.