| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
This chapter describes guidelines for creating a Simulink block user interface (mask) for the S-Function block associated your driver. A mask defines the menu items that will be passed to the S-function. The mask can call an M-file to do parameter or range value checking. You can also modify the labels of a block to show port numbers or other information. After you create the C code for an xPC Target device driver:
Create a mask for the S-Function block.
This is the basic Simulink mask, with parameters and descriptions as necessary. When you are done, you can make the device driver and its mask available for users to add to their models.
![]() | Masking Drivers | Driver Mask Guidelines | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |