Project.Paste does not work in Matlab?

I run a Matlab script to call Maxwell 2019R3. I tried to copy one design and then paste a new design with the command Project.Paste. But this command does not work any more. I used this script many years ago, and it worked well.

Is this a bug or Ansys discontinued this command?

Thanks a lot!

Edwin

Answers

  • icellb1icellb1 Forum Coordinator

    Hi, @xxmmxxmm6 ,

    The script could change from old versions. Try this:

    oProject.CopyDesign("designname")

    oProject.Paste()

    You can also click Tools-->record script to file, do paste operation, then stop script recording. Then open the file to look at the correct script command.

Sign In or Register to comment.