Block for toolbox

3 ビュー (過去 30 日間)
cyberdyne
cyberdyne 2011 年 9 月 3 日
Hi,
Is there a way to run a m.file script made by toolbox in Simulink? I use robotics toolbox and I need to plot in simulink homemade robots created by rt syntax.
For example in m.file you can create a robot with D-H parameters:
Li=link([alphai ai thetai di sigmai]); %where "i" is for i-esim link
and after writing....
rob=robot({Li}); %it creates the robot with your parameters
and for plotting:
plot(rob, Q); %where Q is joint variable vector
How can I create a personal structure in simulink?
  1 件のコメント
Fangjun Jiang
Fangjun Jiang 2011 年 9 月 3 日
Fcn block

サインインしてコメントする。

採用された回答

Randy Souza
Randy Souza 2012 年 9 月 17 日
Try using Fcn block (originally answered in a comment by Fangjun)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRobotics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by