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?

 Accepted Answer

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 Comments

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?
@Ercong Shang: Type "pathtool" in the command window to start the tool. See also: help pathtool
Thanks, I've successfully run 'FK' but what's the command to invoke 'roboticsc'?

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!