%% View Requirement Links from Generated Code
% View requirements linked to a model by using
% the Requirements Manager app and model object context menu.

% Copyright 2020 The MathWorks, Inc.

%% Open Model
% This model shows how to generate code for an airport conveyer belt controller. 
% Open the Controller subsystem, then open the Stateflow chart inside it. 
% This chart implements the control logic for starting and stopping the conveyer belt motor, depending on sensor inputs.
open_system('plcdemo_airport_conveyor_requirements');
%% View Requirements
% You can view requirements linked to the model by using the * Requirements Manager* app
% and by using the object context menu on specific model.
%%
% * *Requirements Manager* app
%
% Open the *Requirements Manager* app. Click a requirement in the Requirements
% Browser. The corresponding model element is highlighted.
%
% <<../requirement_manager_app.png>>
%
% * Model Object Context Menu
%
% To view the requirement for a model-specific object, right-click an
% element and select *Requirements* > *Open Outgoing Links*. For example,
% to view the requirements for the |Controller| subsystem block,
% right-click the |Controller| block and select *Requirements* > *Open
% Outgoing Links*.
%
% <<../object_specific_context.png>>
%
%
%% See Also
%
%%
% * <docid:slrequirements_ug#mw_d629fe24-4ed3-400e-9078-75e492f4988f Link
% Model Objects>
% * <docid:slrequirements_doccenter#mw_6909a778-940f-478e-b9f5-9232783dcf9b
% Requirements Management Interface>