No "XXX" Constant properties or static methods
1 view (last 30 days)
Show older comments
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!
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!