フィルターのクリア

Matlab Robot

1 回表示 (過去 30 日間)
Rodolfo Enriquez
Rodolfo Enriquez 2012 年 4 月 10 日
why i cant do this?
L1=Link(0 1 0 0 0)
L2=Link(0 1 0 0 0)
L3=Link(0 1 0 0 0)
r=robot([1 1 1])
[Merged question from additional post]
why i cant use r=robot[(1 1 1)] in matlab?

回答 (2 件)

Walter Roberson
Walter Roberson 2012 年 4 月 10 日
L1=Link(0 1 0 0 0)
is not valid syntax. You need either
L1=Link(0, 1, 0, 0, 0)
or
L1=Link([0 1 0 0 0])
Or you could use
L1=Link([0, 1, 0, 0, 0])
which is equivalent to the [0 1 0 0 0] version.

Walter Roberson
Walter Roberson 2012 年 4 月 10 日
Mathworks does not appear to supply any routine named "robot" (except for java.robot) Have you installed additional software that has a function or class of that name? If so then please post a link to it, and please indicate what error message you are receiving.

カテゴリ

Help Center および File ExchangeConverters (Low Power) についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by