How can I run a function from file exchange?

There are 2 functions in the web page: http://uk.mathworks.com/matlabcentral/fileexchange/25855-plot-and-animate-robot; they cannot run directly because they are functions. What should I do to achieve the plot as the figure int the web page shows?

 採用された回答

Walter Roberson
Walter Roberson 2016 年 2 月 14 日

1 投票

Download the .zip from the page. Unzip it into a convenient directory that is not under the MATLAB installation directory. Use the MATLAB command pathtool to add that directory to the MATLAB path, and tell pathtool to save the result.
After that you can call FK from one of your own routines, or you can run the demonstration program by invoking roboticsc which will create a GUI for you.

3 件のコメント

Ercong Shang
Ercong Shang 2016 年 2 月 15 日
Sorry, but what does command path pool mean? Is that the command window? Moreover, can you show me some examples to call FK or invoke robotics?
Jan
Jan 2016 年 2 月 15 日
@Ercong Shang: Type "pathtool" in the command window to start the tool. See also: help pathtool
Ercong Shang
Ercong Shang 2016 年 2 月 17 日
Thanks, I've successfully run 'FK' but what's the command to invoke 'roboticsc'?

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by