Home Forums SYSTEM Invitation to try our new C++ component

Viewing 2 reply threads
  • Author
    Posts
    • #31902
      Philip Weetman
      Participant

      Hi Everyone,

      Have you wanted to create your own custom components, but MatLAB is too slow or two expensive for your needs? Then try out our new C++ component! Any components you create will be linked into OptiSystem as a dll and will run essentially at the same speed as our native components. As well, you can use Microsoft Visual Studio Community Edition, which is free. We have opened up access to all our signal classes (Binary, M-ary, Electrical and Optical) as well as provided a number of built-in convenience classes(for example we have provided FFT and IFFT functions based on FFTW).

      As of OptiSystem 14.0 we have had a C++ component. It is located in “Default/External Software Tools/CoSimulation Library”. We are happy to announce that the first version of the tutorial is now ready. In that tutorial we create different sample projects to walk you through accessing and manipulating our signal classes, using some our built-in convenience classes, and building for release and debug modes.

      Please go to https://optiwave.com/resources/downloads/optisystem-c-component/ to find all the relevant material. On that page, we have a preconfigured Microsoft Visual Studio solution, Tutorial projects and documentation.

      Your feedback on this would be appreciated!

    • #31966
      alistu
      Participant

      Hi Philip,

      This seems to be really wonderful. Even though I feel more comfortable working with Matlab, I am absolutely intrigued by the fact that the simulations do not become slower using this capability. I hope to be able to work with this component soon or see insightful comments from those who have worked with it. Thank you for announcing this!

      Regards

    • #32062
      Philip Weetman
      Participant

      We have tried to make it straightforward to use even if one is not too familiar with C++. We encourage users to experiment with translating their MatLAB components to C++ if they are interested in the performance boost.

      One of the main challenges of translating scientific code from MatLAB to C++ is finding equivalent numerical procedures to those supplied by MatLAB. We have supplied some functions in the project and we are very open to adding any mathematical functionality desired by the user. We may even have those desired procedures already embedded in OptiSystem itself, which we could extract.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.