User`s guide

vi
Creating an External Mode Communication Channel . . . . . . 4-27
Rebuildingtheext_commMEX-file ..................... 4-27
5
Data Logging and Signal Monitoring
MAT-File Data Logging .................................... 5-2
ToFileBlockMAT-Files ............................. 5-2
Singletasking versus Multitasking
MAT-FileLogging ....................................
5-3
C API for Signal Monitoring ............................... 5-4
Using BlockIOSignals to Obtain Block Outputs ........... 5-5
6
Program Architecture
Introduction ............................................... 6-2
Model Execution .......................................... 6-4
ProgramTiming ..................................... 6-13
ProgramExecution .................................. 6-15
External Mode Communication . . . . . . . ................. 6-15
DataLogging ....................................... 6-15
Logging Differences Between Singletasking
andMultitaskingModelExecution......................
6-15
Differences Between Rapid Prototyping
andEmbeddedModelExecution........................
6-16
RapidPrototypingModelFunctions ..................... 6-17
EmbeddedModelFunctions ........................... 6-23
Rapid Prototyping Program Framework ................. 6-25
RapidPrototypingProgramArchitecture................. 6-25