Solving Engineering Problems Using MATLAB C++ Math Library Introduction
In the previous article, we studied how can use MATLAB C API to solve engineering problems. In this article I will show you how can use MATLAB C++ math Library. The MATLAB® C++ Math Library serves two separate constituencies: MATLAB programmers seeking more speed or complete independence from interpreted MATLAB, and C++ programmers who need a fast, easy-to-use matrix math Library. To each, it offers distinct advantages.
Introduction
Some times it is required that we build a shared Library (DLL) from an m-file. M-files are functions that are written in Matlab editor and can be used from Matlab command prompt. In m-files, we employ Matlab built-in functions or toolbox functions to compute something. In my past articles, I showed you some ways to use Matlab engine (vis. API, C++ class or Matlab engine API) for employing Matlab built-in functions, but what about functions that we develop? How can we use them in VC? Is there any interface? This article shows you an idea to employ your own Matlab functions.
Introduction
A shared Library is a collection of functions that are available for use by one or more applications running on a system. On Windows operating systems, the Library is compiled into a dynamic link Library (.dll) file. At run-time, the Library is loaded into memory and made accessible to all applications.
The Blitz++ project is now being served via SourceForge. To download the Blitz++ Library, go to the blitz project web page, at http://sourceforge.net/projects/blitz.
More information about supported platforms and C++ compilers is available in this document or on the official Blitz++ home page, at http://oonumerics.org/blitz.
A Numerical Photonics Library written in C++. The Library includes beam propagation method, coupled mode method, Bragg Gating Analysis, transfer matrix method, and vectorial Fourier Decomposition method. Very useful in simulating integrated Photonic devices