%% Interface to an Example Real-Time Multitasking System
% This example shows how to simulate and generate code for asynchronous 
% events on a real-time multitasking system.
%
% The operating system integration techniques that the example demonstrates  
% use one or more blocks in the |vxlib1| library.
% These blocks provide starting point examples to help you develop custom
% blocks for your target environment.
%
%% Example Model
% Open the |rtwdemo_vxworks| model. 
model = 'rtwdemo_vxworks';
open_system(model);
%
%% Model Description
% The example model contains two asynchronously executed subsystems, |Count| and |Algorithm|. |Count| 
% executes at interrupt level. |Algorithm| executes in an asynchronous
% task. The generated code for these blocks is tailored for the VxWorks(R) 
% operating system. However, you can modify the |Async Interrupt| and |Task Sync|
% blocks to generate code for your run-time environment whether 
% you are using an operating system or not.
%  
%% Related Information
% * <docid:rtw_ref.bu_98v5 Async Interrupt>
% * <docid:rtw_ref.bqnrjmx-1 Task Sync>
% * <docid:rtw_ug.f9453 Generate Interrupt Service Routines>
% * <docid:rtw_ug.f29370 Timers in Asynchronous Tasks>
% * <docid:rtw_ug.f10041 Create a Customized Asynchronous Library>
% * <docid:rtw_ug.bsyjz_c Import Asynchronous Event Data for Simulation>
% * <docid:simulink_ug.bsuwmmp Load Data to Root-Level Input Ports>
% * <docid:rtw_ug.f23284 Asynchronous Events>
% * <docid:rtw_ug.f10930 Rate Transitions and Asynchronous Blocks>
% * <docid:rtw_ug.bqpnsgq Asynchronous Support Limitations>
%
%   Copyright 2015-2019 The MathWorks, Inc.




