OptiSystem’s Cpp Component, similar in operation to the MATLAB Component, allows users to create their own custom components. These are written in C++ and loaded into OptiSystem via dynamic link libraries (DLLs). The user has access to OptiSystem’s signal classes and an extensive library of convenience functions. Users can also create their own graphs and results that can be displayed within OptiSystem.

The two major benefits of the Cpp Component over the MATLAB Component are speed and price. The custom C++ components will run at essentially the same speed as native components as they are loaded directly from DLLs. In addition, the user has the option of developing in Microsoft Visual Studio 2013 professional (commercial) or community (free) editions.

The most effective method to learn the usage of OptiSystem’s C++ component is to follow the tutorials described in the OptiSystem C++ Tutorials. They will teach the user how to access and manipulate the basic data structures, configure projects for release and debug mode, and use many of the built-in convenience functions.

It is recommended that the user create a copy of the default project. All the files required to build and run the tutorials are here.


OptiSystem 14.0 or later

Microsoft Visual Studio 2013, professional or commercial. Do not use 2015.


Gnuplot: You can create intermediate graphs in the C++ component using built-in functions.