2.1.22.3.23 ocmsp_writefcf_ss


Description

Write filter in state space form to Matlab fcf file

Syntax

int ocmsp_writefcf_ss( const char * filename, const double * pA, UINT m, UINT n, const double * pB, const double * pC, double d, int fmt = OMSP_DEC )

Parameters

filename
[input] file name
pA
[input] matrix A, size m-by-n
m
[input] rows of A
n
[input] columns of A
pB
[input] vector B, size m
pC
[input] vector C, size n
d
[input] scalar d
fmt
[input] format of coefficients, in binary(OMSP_BIN), decimal(OMSP_DEC) or hexadecimal(OMSP_HEX)

Return

Return OE_NOERROR if succeed, otherwise, non-zero error code is returned (OE_NULL_POINTER, OE_INVALID_SIZE or OE_BAD_PARAM)

Examples

Remark

See Also

ocmsp_writefcf, ocmsp_writefcf_sos

Header to Included

ocmsp.h

Reference