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

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)

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.

Products

Asked:

H
H
on 31 Aug 2014

Edited:

on 2 Sep 2014

Community Treasure Hunt

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

Start Hunting!