Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ssWriteRTWMxVectParam

Write a vector parameter in MATLAB format to the model.rtw file

Syntax

int_T ssWriteRTWMxVectParam(SimStruct *S, const char_T *name,
  const void *rValue, const void *cValue, int_T dataType, int_T
  size)

Arguments

S

SimStruct representing an S-Function block.

name

Parameter name.

rValue

Real values of the parameter.

cValue

Complex values of the parameter.

dataType

Data type of the parameter elements (see Specifying Data Type Info).

size

Number of elements in the vector.

Returns

An int_T (1 or 0) or boolean_T (true or false) indicating the success or failure of the function.

Description

Use this function in mdlRTW to write a vector parameter in MATLAB® format to this S-function's model.rtw file.

Languages

C, C++

Introduced before R2006a

Was this topic helpful?