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


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 Matalb? 


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);


0 replies

Be the first to reply!

Reply