正在加载图片...
Scalar Expansion of Inputs 7-11 Masked Multiport s-Functions 7-12 Custom Data Types ample Times 7-1 Block-Based Sample Times 7 Specifying Port-Based Sample Times Hybrid Block-Based and Port-Based Sample Times Multirate s-function blocks 7-23 Synchronizing Multirate S-Function Blocks 7-24 Work Vectors 7-26 Work Vectors and Zero Crossings Example Involving a Pointer Work Vector 7-28 Memory Allocation 7-30 Function-Call Subsystems 7-31 Handling Errors Exception Free Code ss SetErrorStatus Termination Criteria ..7-34 Checking Array bounds 7-35 S-Function Examples ..7-36 Example of a Continuous State S-Function Example of a Discrete State S-Function Example of a Hybrid System S-Function 7-45 Example of a Variable-Step S-Function Example of a Zero Crossing S-Function Example of a Time-Varying Continuous Transfer Function..7-64 Writing S-Functions for Real-Time Workshop 8 Introduction Classes of Problems Solved by S-Functionsv Scalar Expansion of Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-11 Masked Multiport S-Functions . . . . . . . . . . . . . . . . . . . . . . . . . 7-12 Custom Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14 Sample Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-15 Block-Based Sample Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16 Specifying Port-Based Sample Times . . . . . . . . . . . . . . . . . . . . 7-18 Hybrid Block-Based and Port-Based Sample Times . . . . . . . . 7-22 Multirate S-Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-23 Synchronizing Multirate S-Function Blocks . . . . . . . . . . . . . . 7-24 Work Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-26 Work Vectors and Zero Crossings . . . . . . . . . . . . . . . . . . . . . . . 7-28 Example Involving a Pointer Work Vector . . . . . . . . . . . . . . . . 7-28 Memory Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-30 Function-Call Subsystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-31 Handling Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-33 Exception Free Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-33 ssSetErrorStatus Termination Criteria . . . . . . . . . . . . . . . . . . 7-34 Checking Array Bounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-35 S-Function Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-36 Example of a Continuous State S-Function . . . . . . . . . . . . . . . 7-36 Example of a Discrete State S-Function . . . . . . . . . . . . . . . . . . 7-41 Example of a Hybrid System S-Function . . . . . . . . . . . . . . . . . 7-45 Example of a Variable-Step S-Function . . . . . . . . . . . . . . . . . . 7-49 Example of a Zero Crossing S-Function . . . . . . . . . . . . . . . . . . 7-52 Example of a Time-Varying Continuous Transfer Function . . 7-64 8 Writing S-Functions for Real-Time Workshop Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 Classes of Problems Solved by S-Functions . . . . . . . . . . . . . . . . 8-2
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有