How can I run a function from file exchange?

4 vues (au cours des 30 derniers jours)
Ercong Shang
Ercong Shang le 14 Fév 2016
Commenté : Ercong Shang le 17 Fév 2016
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?

Réponse acceptée

Walter Roberson
Walter Roberson le 14 Fév 2016
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 commentaires
Jan
Jan le 15 Fév 2016
@Ercong Shang: Type "pathtool" in the command window to start the tool. See also: help pathtool
Ercong Shang
Ercong Shang le 17 Fév 2016
Thanks, I've successfully run 'FK' but what's the command to invoke 'roboticsc'?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by