Ansys Optics Help Center home page
Products
  • Ansys Optics
  • Downloads
  • What's new
  • Ansys Help
Solutions
  • Lumerical
  • Zemax
  • Speos
Learn
  • Ansys Innovation Courses (AIC)
  • Ansys Learning Hub (ALH)
  • Webinars
  • On-Demand Webinars
  • White Papers
Get Help
  • Welcome Guide
  • Ansys Learning Forum (ALF)
  • Lumerical Ideas Exchange (IX)
  • Ansys Support (ACSS)
  • How to Register for Support
Evaluate for Free
  • Lumerical
  • Zemax
  • Speos
  1. Ansys Optics
  2. Scripting Language
  3. Commands

TOP

+ (plus) - Script operator

FDTD MODE DGTD CHARGE HEAT FEEM INTERCONNECT

Performs an addition operation.

Syntax

Description

y = x + z;

Add x and z.

y = string1 + string2;

Concatenate strings together.

Examples

This example shows the usage of the "+" operator.

x=1:3;
y=2:4;
?z=x+y;
result: 
3  
5  
7  
?"file_"+"name_"+num2str(1);
file_name_1

See Also

List of commands , * , / , + , - , ^ , num2str , ?

Associated files

Related articles

  • Lumerical scripting language - By category
  • num2str - Script command
  • RCWA Solver Introduction
  • Imbalanced MZM - Siemens EDA Interoperability
  • Thermal phase shifter workflow

Products

  • Ansys Optics
  • Downloads
  • What's new
  • Ansys Help

Solutions

  • Lumerical
  • Zemax
  • Speos

Learn

  • Ansys Innovation Courses
  • Ansys Learning Hub
  • Webinars
  • On-Demand Webinars
  • White Papers

Get Help

  • Ansys Learning Forum
  • Lumerical Ideas Exchange
  • Ansys Support
  • How to Register for Support

Evaluate for Free

  • Lumerical
  • Zemax
  • Speos
Hear the Latest from Ansys

Copyright 2025 Ansys Canada Ltd.


Ansys
  • Terms of Service
  • Cookie Policy
  • Privacy Policy
  • Legal Notices