Tag Archives: Mex

14 relevant articles found:

Multi-threaded Mex

Tips for creating and debugging multi-threaded Mex functions are discussed.

6 Comments

Faster csvwrite/dlmwrite

The speed of the builtin csvwrite, dlmwrite functions can be improved dramatically.

5 Comments

Checking status of warning messages in MEX

Undocumented Mex functions can be used to extract the state of Matlab warnings in run-time.

Leave a comment

MEX ctrl-c interrupt

An undocumented MEX function can help interrupt running MEX functions.

5 Comments

Better MEX error messages

The default clunky and release-incompatible MEX error messages can be improved using a simple hack.

2 Comments

Undocumented feature list

A list of undocumented MATLAB features can be retrieved. Here’s how…

4 Comments

Explicit multi-threading in Matlab part 3

Matlab performance can be improved by employing POSIX threads in C/C++ code.

4 Comments

Serializing/deserializing Matlab data

Matlab does not provide a documented manner to serialize data into a byte stream, but we can do this with some undocumented functionality.

22 Comments

Accessing private object properties

Private properties of Matlab class objects can be accessed (read and write) using some undocumented techniques.

2 Comments

Undocumented Matlab MEX API

Matlab’s MEX API contains numerous undocumented functions, that can be extremely useful.

6 Comments