Hello Everyone I am having problem while using rotm2eul command in matlab. It gives an error stating "Undefined function 'rotm2eul' for input arguments of type 'double'." Can anyone help me real quick. Thanks.

When I enter these two lines in command window I get an error as stated above
rotm = [0 0 1; 0 -1 0; -1 0 0];
eulZYZ = rotm2eul(rotm)

 Accepted Answer

Either you don't have Robotics System Toolbox or a valid license for it.
>> help rotm2eul
'rotm2eul' requires Robotics System Toolbox.
To check it:
ver % to check if you have that toolbox
license('test','Robotics_System_Toolbox') % to check if you have valid license (returns logical)

6 Comments

It returns this
MATLAB Version: 9.2.0.538062 (R2017a)
MATLAB License Number: FreeForAll
Operating System: Microsoft Windows 8.1 Pro Version 6.3 (Build 9600)
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
and the answer to license('test','Robotics_System_Toolbox') is 0
So you don't have license for Robotics System Toolbox , get a valid license and then download it.
The better option is to contact mathworks support team by clicking on the Contact Us button on the top right corner of this page , they will guide you further.
Anytime :) , if it helped make sure to accept the answer.

Sign in to comment.

More Answers (0)

Categories

Find more on Interpolation 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!