Download Writing S-Functions
Transcript
ssWriteRTWParameters Purpose 10ssWriteRTWParameters Write tunable parameter information to model.rtw file. Syntax int_T ssWriteRTWParameters(SimStruct *S, int_T nParams, int_T paramType, const char_T *paramName, const char_T *stringInfo, ...) Arguments S SimStruct representing an S-function block. nParams Number of tunable parameters paramType Type of parameter (see “Parameter Type-Specific Arguments”) paramName Name of parameter stringInfo General information about the parameter, such as how it was derived ... Remaining arguments depend on parameter type (see “Parameter Type-Specific Arguments”). Description Use this function in mdlRTW to write tunable parameter information to this S-function’s model.rtw file. This function returns TRUE if successful. Note This function is provided for compatibility with S-functions that do not use run-time parameters. It is suggested that you use run-time parameters (see “Run-Time Parameters” on page 7-6). If you do use run-time parameters, you do not need to use this function. Parameter Type-Specific Arguments This section lists the parameter-specific arguments required by each parameter type. 10-197
Related documents
What Is an S
MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS User`s guide
Real-Time Workshop
HP Notebook Hard Drives & Solid State Drives Identifying
Real-Time Workshop User's Guide
Developement Of An Instrument Landing Simulation Using MATLAB
An Integrated, Modular Simulation System for Education and
Simulink User's Guide
MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER User`s guide
Motion Control of Industrial Printers
7.0 User`s Manual - Opal-RT