Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Matlab problem using java enumerators

1 Ansicht (letzte 30 Tage)
Paolo
Paolo am 2 Feb. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello, I have a problem using java enumerator in Matlab. I tried to use some suggestion available in some references like the Altman book but not in all the situation I have the solution proposed work fine. For example here below there is a case where enumerator created in java I am not able to capture
I have an external jar with the following class
com.myClass.enumMethods
If I see the methods from Matlab, they appear in this way myClass$enumMethods.
In Java, this enumerators have the following properties:
Enclosing class: myClass
public static final class myClass.enumMethods extends Object
Enumeration type for myClass. The following values are allowed: * ENUM_1 * ENUM_2 * ENUM_3
Field Summary: static myClass.EnumMethods ENUM_1 static myClass.EnumMethods ENUM_2 static myClass.EnumMethods ENUM_3
Thank you in advance for the help
Paolo

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by