I am attempting to convert the example "Example of a Discrete State S-Function" into an S-function built by S-Function Builder. However, when I try to introduce the four matrices (C and D under "Outputs", and A and B under "Discrete update") as parameters, I cannot find any way to do so, since parameters such as A[2][2] or A[4] are refused by the build procedure. I do not know how to enter parameters other than scalars into the S-Function Builder.
MATLAB: Is there an example that demonstrates the use of matrix parameters within S-Function Builder for Simulink 6.3 (R14SP3)
2-darraysbuildermatricesparameterss-functionsimulink
Related Question
- Is there an example that demonstrates how to access parameters located in an S-function mask from within an S-function in Simulink
- Does the S-Function Builder add a space to lines of the C-code when I close and reopen the block in Simulink 5.1 (R13SP1)
- Demonstrate view few image processing in MATLAB
- Am I unable to use Simulink Accelerator 6.0 (R14) and Simulink Accelerator 6.1 (R14SP1) on a model that has an S-function block
- A statistical plot demonstrating quantity and std (or mean)
- Does modal dialog using QUESTDLG not work when I build a COM object in MATLAB Builder for COM 1.1.2 (R14SP1)
- Demonstrating concept of confidence interval for the mean value
Best Answer