How to import a 4x4x3 matrix in simulink from workspace?

15 views (last 30 days)
Hello, i'm trying to simulate a serial robot with simulink. Therefore I need to import a 4x4x3 Matrix from workspace into a Matlab function block in Simulink? How do I do it?

Answers (1)

Kaustubha Govind
Kaustubha Govind on 2 Sep 2014
Edited: Kaustubha Govind on 2 Sep 2014
Add a parameter argument to the MATLAB Function block. The name of the parameter should match that of the workspace variable for it to be resolved.

Community Treasure Hunt

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

Start Hunting!