# Revision history [back]

Detail 3: Other useful utilities

As part of writing the code generator, it would be useful to expose some utilities that make it easier to use OpenCV constructs in mex files, and Matlab features in OpenCV. I was thinking of implementing:

• Matlab (.mat) I/O for cv::FileStorage. I have an implementation which needs refactoring.
• A mex script which automatically finds OpenCV and adds the relevant build flags, so compiling your own C++ function containing OpenCV declarations within matlab should be as simple as:

cvmex my_awesome_function.cpp

• Conversion class/operations for easily getting between mxArray and cv:: std:: types

What would you like to see?

Detail 3: Other useful utilities

As part of writing the code generator, it would be useful to expose some utilities that make it easier to use OpenCV constructs in mex files, and Matlab features in OpenCV. I was thinking of implementing:

• Matlab (.mat) I/O for cv::FileStorage. cv::FileStorage. I have an implementation which needs refactoring.
• A mex script which automatically finds OpenCV and adds the relevant build flags, so compiling your own C++ function containing OpenCV declarations within matlab should be as simple as:

cvmex my_awesome_function.cpp

• Conversion class/operations for easily getting between mxArray and cv:: std:: types

What would you like to see?