MATLAB:'double' 类型的输入参数的未定义函数 'rotm2tform'

MATLAB: Undefined function 'rotm2tform' for input arguments of type 'double'

在 MATLAB R2019a

中 运行 以下命令时出现错误
clc
clear
rotm = [1 0 0 ; 0 -1 0; 0 0 -1];
tform = rotm2tform(rotm)

命令Window:

Undefined function 'rotm2tform' for input arguments of type 'double'.

Error in ex2_1 (line 4)
tform = rotm2tform(rotm)

示例取自https://se.mathworks.com/help/robotics/ref/rotm2tform.html

可能是什么问题?

正如烧杯指出的那样,需要安装 Robotics System Toolbox。这是我的问题。现在示例工作正常。