Matlab Texo

In order to provide the researchers with the ability to control the Ultrasonix systems at the sequencer level, from the Matlab environment, we have developed the Matlab Texo SDK. The most important feature of the SDK is the ability to acquire live images in the Matlab environment in real-time. Matlab has the ability to connect to COM servers, and receive events from them in real-time. This feature is used in the Matlab TexoSDK.

The SDK contains sample scripts which shows its basic functions.

The following steps are taken in each sample scripts.

First, the TexoCOMServer is registered in the windows. This operation can be done with a script from within the Matlab environment, but is essentially a Windows system operation. This essentially registers the TexoCOMServer.dll as a COM server on the machine, which allows Matlab to connect to it.

Next, Matlab connects to the TexoCOMServer as a client and gets a handle to the server.

The server then provides all the functions that Texo SDK provides in the C++ environment, to the user in the Matlab environment, via the handle.

Moreover, the frame callback feature of the Texo SDK is provided via events that propagate to the Matlab client from the COM server.

You can register Matlab functions to these events. These functions will essentially do the same thing as the callback functions do in the C++ environment, and provide real-time capabilities to the Texo Matlab SDK.