Ansys Optics Help Center home page
Products
  • Ansys Optics
  • Downloads
Solutions
  • Applications
  • Customer Success
Learn
  • Learning Centre
  • Webinars
  • On-Demand Webinars
  • White Papers
  • Blogs
Submit a request
Sign in Evaluate for Free
  1. Ansys Optics
  2. Scripting Language
  3. Commands

TOP

eval - Script command

FDTD MODE DGTD CHARGE HEAT FEEM INTERCONNECT

Executes a string containing Lumerical's scripting language.

Syntax

Description

eval(string);

Executes the Lumerical script commands in string.

This function does not return any data.

Example

Execute a string as a command.

eval("x=1+2;");
?x;
3

See Also

List of commands , feval , str2num , num2str , lower , upper , toscript

Associated files

Related articles

  • feval - Script command
  • lumapi – Lumerical.eval – Python API Method
  • Lumerical scripting language - By category
  • Lumerical scripting language - Alphabetical list
  • 5-V Ge-on-Si APD with Ge and Si multiplication

Products

  • FDTD
  • MODE
  • CHARGE
  • HEAT
  • DGTD
  • FEEM
  • MQW
  • STACK
  • INTERCONNECT
  • CML Compiler
  • Photonic Verilog-A
  • Downloads

Resources

  • Learn
  • Support
  • Solutions
  • Ansys Innovation Courses
  • Ideas Exchange
  • Ansys Learning Forum
  • Knowledge Base
  • Application Gallery

Corporate

  • About Lumerical
  • Careers
  • News Releases
  • In the Literature
  • Contact Us

Stay in the know

Subscribe to Spotlight Newsletter

Copyright 2024 Ansys Canada Ltd.


Ansys / Lumerical
  • Terms of Service
  • Cookie Policy
  • Privacy Policy
  • Legal Notices
  • Sitemap