Prev: Help ! how to solve this error
Next: Have some question about Instrument Control Toolbox from Simulink
From: marwen on 26 May 2010 18:28 Hello friends, well just i am trying to fellow the same instruction as writing in this page to execute a java class from Matlab: http://www.mathworks.com/support/solutions/en/data/1-195EX/index.html?product=ML i did everything but always when i try to execute this command: o = HelloWorld i got this error: ??? Undefined function or variable 'HelloWorld'. " but i try many times to verify if i entered the right path in ClassPath but i found it correct. By the way can it be a problem with my version of Matlab: 7.0.4.365 (R14) ? Thank you...
From: Yair Altman on 26 May 2010 20:24
"marwen " <hi.marwen(a)gmail.com> wrote in message <htk79m$s8g$1(a)fred.mathworks.com>... > Hello friends, > well just i am trying to fellow the same instruction as writing in this page to execute a java class from Matlab: > http://www.mathworks.com/support/solutions/en/data/1-195EX/index.html?product=ML > > i did everything but always when i try to execute this command: > o = HelloWorld > > i got this error: ??? Undefined function or variable 'HelloWorld'. " > but i try many times to verify if i entered the right path in ClassPath but i found it correct. > By the way can it be a problem with my version of Matlab: 7.0.4.365 (R14) ? > > Thank you... either your class does not have a public no-argument constructor, or it depends on an imported class/package that is NOT in the javaclasspath. Yair Altman http://UndocumentedMatlab.com |