I am trying to use my Java class (called SerialInterface) in MATLAB, and I added the path of that class to classpath.txt file, however, MATLAB could not find that class.
When I try to invoke that class:
SerialInterface
I receive the error message:
??? Undefined function or variable 'SerialInterface'.
When I use the command:
javaObject('SerialInterface')
I receive the same error message.
Best Answer