Skip to main content

How to convert the type string to the type MeritOperandType in Matlab?



I have a problem about ZOS-API in Matlab.


Could we transform a MFE operator like 'REAY' in the type String to  ZOSAPI.Editors.MFE.MeritOperandType.REAY in Matlab? 



Coud we do the the same thing like the following code for C#?



 MeritOperandType mfOP;



String OP='REAY';


mfOP = (MeritOperandType)Enum.Parse(typeof(MeritOperandType),OP, true);

Be the first to reply!

Reply