【问题标题】:MATLAB: Undefined function 'rotm2tform' for input arguments of type 'double'MATLAB:“double”类型的输入参数的未定义函数“rotm2tform”
【发布时间】:2021-09-08 01:37:56
【问题描述】:

在 MATLAB R2019a 中运行以下命令时出现错误

clc
clear
rotm = [1 0 0 ; 0 -1 0; 0 0 -1];
tform = rotm2tform(rotm)

命令窗口:

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

可能是什么问题?

【问题讨论】:

  • 您是否安装了机器人系统工具箱?在命令提示符下键入 ver 将显示安装了哪些工具箱。
  • 我没有。我现在有了它,它的工作原理!谢谢!

标签: matlab


【解决方案1】:

正如烧杯所指出的,Robotics System Toolbox 需要安装。这就是我的问题。现在示例运行良好。

【讨论】:

    猜你喜欢
    • 2021-07-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-20
    • 2018-12-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多