MATLAB®   C/C++  Book


MATLAB C++ Book illustrates the work of C++ programming with support of MATLAB. The features of this book are designed to handle the four following projects:

  1. A project is based on C++ language, the programmer wants to get support from the mathematical functions in MATLAB C/C++ Library.
    In this project, the programmer will create a C++ file, in which a C++ function will call built-in functions in MATLAB C/C++ Library to solve the technical problems.

     
  2. A project is based on C++ language and the programmer wants support from MATLAB workspace by using MATLAB Engine.
    In this project, the programmer will create a C++ file, in which a C++ function will call MATLAB to perform particular tasks in the MATLAB workspace, then transfer the results back to the C++ function.
     
  3. A project is based on C++ language and the programmer wants to call a function in an existing MATLAB M-file.
    In this project, the programmer will use MATLAB Compiler to generate the C++ function from the existing function in the MATLAB M-file, this generated function will then be used in the project.

     
  4. A project is based on the MATLAB workspace and the programmer is working in MATLAB workspace and wants to call a C++ function from an existing C++ file.
    In this project, the programmer will write a MEX-function for the existing C++ function then call it into the MATLAB workspace.

The MATLAB C++ Book (on CD-Rom) includes the full code examples of 14 chapters and 7 appendices. The example codes are developed, compiled, and tested in MATLAB 6.0, MATLAB C/C++ Library 2.1, and MATLAB Compiler 2.1. These examples are intended to establish a foundation for a C++ programmer working with these two toolboxes. The foundation is working for scalars, vectors, and matrixes which are inputs/outputs of functions for every application. In addition, the example codes are portable and presented in a step-by-step method. Therefore the user can easily reuse the codes or writes his own codes following the step-by-step procedure while solving his problems.

This book is a great tutorial for C++ programmers who use MATLAB to develop applications and solutions.

The book is promoted at MATLAB website and Technical Book Resources.

 

 


MATLAB and MATLAB Compiler registered trademarks of The MathWork, Inc.
Microsoft, Windows, and Microsoft Visual C++ are
registered trademarks of  Microsoft Corporation