How to change the struct parameters inside the user-defined function block of Simulink?

1 view (last 30 days)
I have a 2X1 vector(Z) in workspace. This is fed to a user-define function block in simulink. After some calculations this vector is appended with a 2X1 vector, i.e., now Z is 2X2 and this has to be written to the workspace instead of previous Z. This continues. Can anyone please tell me how to do this?

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!