MATLAB Answers

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

44 views (last 30 days)
H
H on 31 Aug 2014
Edited: Kaustubha Govind on 2 Sep 2014
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?

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

Sign in to answer this question.