How to pass vectors in simulink?
Show older comments
I have created the dynamic model of a Stewart Platform in simulink. Since it is a non linear time varying system,i require the values of my states for computing the matrices to be multiplied by the state derivatives or states. How do i pass these values to the matlab functions which i have created(these functions compute the matrices)? I simulated my system assuming constant initial values for my states and i am getting the new states.But when i try to pass these new states back to compute the new matrices,i am getting errors.
5 Comments
Davide Marzatico
on 6 Jun 2018
Edited: Davide Marzatico
on 6 Jun 2018
Hi Sreeranj, i can't figure out what is the problem, signals on simulink can obviously be multidimensional depending on the output of the block. Maybe show signal dimension can be helpful: in Simulink display-->signals&ports-->signal dimensions
Sreeranj Jayadevan
on 7 Jun 2018
Birdman
on 7 Jun 2018
Can you share your model as a mdl file?
Sreeranj Jayadevan
on 7 Jun 2018
Sreeranj Jayadevan
on 11 Jun 2018
Answers (0)
Categories
Find more on Continuous 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!