Lumerical Support Help Center home page
Products
  • DEVICE Suite
  • FDTD
  • MODE
  • CHARGE
  • HEAT
  • DGTD
  • FEEM
  • MQW
  • STACK
  • SYSTEM Suite
  • INTERCONNECT
  • CML Compiler
  • CML Publisher+
  • Laser Library
  • System Library
  • Photonic Verilog-A
  • HPC & Cloud
  • FDTD Accelerator
  • MODE Accelerator
  • Interoperability
  • Automation API
  • Tool Integrations
  • Foundry Support
  • Product Configurations
  • Licensing Models
  • License Agreement
  • System Requirements
  • Downloads
Solutions
  • Applications
  • Ecosystem Partners
  • Customer Success
Learn
  • Learning Centre
  • Training
  • Webinars
  • Upcoming Events
  • Videos
  • White Papers
Submit a request
Sign in
  1. Lumerical Support
  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

  • lumapi.eval - Python API method
  • Lumerical scripting language - By category
  • for - Script command
  • substring - Script command
  • Planar silicon solar cell

Products

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

Resources

  • Learn
  • Support
  • Solutions
  • University Program
  • Ecosystem Partners
  • Lumerical University
  • 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 2021 Lumerical Inc.


  • Terms of Service
  • Privacy Policy
  • Sitemap