Skip to main content

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

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings