No "XXX" Constant properties or static methods

I try to insert operand through matlab in zemax with the code below:
MCEVigoperand=[{'FVDX'},{'FVDY'},{'FVCX'},{'FVCY'},{'FVAN'}]; Operand_MCE_num.ChangeType(ZOSAPI.Editors.MCE.MultiConfigOperandType.MCEVigoperand{1});
then I get back an error message "no "MCEVigoperand" Constant properties or static methods" If change the code as below:
Operand_MCE_num.ChangeType(ZOSAPI.Editors.MCE.MultiConfigOperandType.FVDX);
It will be OK. How can I get the code to work through assign an vector or a cell? Thanks!

Answers (0)

Categories

Find more on Parallel Computing in Help Center and File Exchange

Asked:

on 15 Nov 2016

Community Treasure Hunt

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

Start Hunting!