Error - "Attempt to execute SCRIPT ikine as a function:"
Afficher commentaires plus anciens
I am trying to run a function from the robotics toolbox installed on my matlab, but I get this error. I googled about this and got to know that it usually occurs when the filename is same as that of the function, but in my case the filename is different. I also went to the path displayed on the error and tried altering the names there, but of no use.
Here is a snippet of my code and the error:

9 commentaires
Torsten
le 29 Déc 2021
And you wrote a function "ikine" as
function inv = ikine(A)
...
end
and saved it as "ikine.m" in the working directory ?
Walter Roberson
le 29 Déc 2021
Are you perhaps trying to use the ikine method of SerialLink objects from the Peter Corke Robotics Toolbox? https://www.petercorke.com/RTB/r9/html/SerialLink.html
Geoff Hayes
le 29 Déc 2021
@Sampath Vinay Pilla - are you sure you can use the ikine in this manner? From this example, ikine seems to be a method of an object that you need to create (like SerialLink).
N/A
le 29 Déc 2021
Image Analyst
le 29 Déc 2021
Modifié(e) : Image Analyst
le 29 Déc 2021
Walter Roberson
le 29 Déc 2021
ikine is from the Peter Corke Robotics Toolbox
N/A
le 30 Déc 2021
Image Analyst
le 30 Déc 2021
I don't have much time today and I don't have that toolbox or any robots, so don't depend on me. I really have no idea about that function at all. Can you contact Peter Corke or else just do what the warnings say? Like limit your steps to less than 100, or try a different initial value.
N/A
le 3 Jan 2022
Réponses (0)
Catégories
En savoir plus sur Robotics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
