3.7. Using Matlab Mathematics Library to Handle Complicated Matrix Operations

3.7.1. Introduction

The previous discussion concentrated on graphics applications, especially for multidimension plotting in real-time operations between VC++ and Matlab. Another advantage to using the interface between VC++ and Matlab is to handle complicated matrix operations, especially multidimension matrix operations.

The flow chart in Figure 3-22 illustrates the operation principle. Before calling the Matlab matrix functions via the interface, the VC++ program should collect the data from the control system (hardware) and create the data files in ASCII format. After that, the Matlab matrix operations are called by VC++. Matlab first picks up the data from the ...

Get Applications Interface Programming Using Multiple Languages: A Windows® Programmer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.