- This topic has 2 replies, 2 voices, and was last updated 8 years, 9 months ago by Philip Weetman.
-
AuthorPosts
-
-
March 8, 2016 at 9:54 am #31902Philip WeetmanParticipant
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!
-
March 9, 2016 at 12:03 am #31966alistuParticipant
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
-
March 9, 2016 at 9:50 am #32062Philip WeetmanParticipant
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.
-
-
AuthorPosts
- You must be logged in to reply to this topic.