??? Undefined function or method 'In' for input arguments of type 'char'.
Ältere Kommentare anzeigen
Hi all,
I am trying to calculate the position of a point (x y z) with help of the points rotations. i have declared the rotation and all the other point inside the same m file. But i still get the below error
??? Undefined function or method 'In' for input arguments of type 'char'.
Thank in advance.
Regards, Bala
6 Kommentare
Wayne King
am 13 Okt. 2011
You have to tell us what In is
Jan
am 13 Okt. 2011
Please post the complete error message and show the line, which causes the error.
Image Analyst
am 13 Okt. 2011
You aren't, by chance, trying to take the natural logarithm are you? The function for that is log().
Balaji
am 13 Okt. 2011
Jan
am 13 Okt. 2011
Please, Bali, post the complete error message. It contains the line, which causes the problem. It is not useful if we try to guess, what your problem is, when it appears explicitely written in your command window.
In addition you should use the debugger, to find out, what's going on: Type "dbstop if error" in the command window and run your program again. Then Matlab stops, when the error occurs and you can check the variables.
Wayne King
am 13 Okt. 2011
I don't see how you're getting the error you report with this. I can see how you get an error that MR is not defined, but nothing about "In"
Akzeptierte Antwort
Weitere Antworten (1)
wahad rahmann
am 14 Nov. 2018
0 Stimmen
Hi every one,
when i run this code
import ETS2.*
syms a1 a2 x y real
q1 = 30; q2 = 40;
E = Rz('q1')*Tx(a1)*Rz('q2')*Tx(a2);
TE = E.fkine( [q1,q2] );
simplify(TE)
it give error like this
''Undefined function or method 'Rz' for input arguments of type 'char'.
Error in ==> Untitled at 4
E = Rz('q1')*Tx(a1)*Rz('q2')*Tx(a2);''
please guide me.
thanks in advance
1 Kommentar
Walter Roberson
am 14 Nov. 2018
You appear to be importing java methods related to European Truck Simulator 2. Where did you find the java code?
Kategorien
Mehr zu Data Type Conversion finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!