
=================
Utility Functions
=================

Utilities
---------

    .. mat:function:: adddir(d)

        Add a directory to the search path.

        Adds directory ``d`` to the set of directories where Cantera looks for
        input and data files.
        
        :param d:
            Path to add to the MATLAB search path.
        

    .. mat:function:: cleanup()

        Delete all stored Cantera objects and reclaim memory.

        

    .. mat:function:: geterr

        Get the error message from a Cantera error.

        

    .. mat:function:: getDataDirectories()

        Get a cell array of the directories searched for data files.

        Get a cell array of the directories Cantera searches for data files
        
        :return:
            Cell array with strings representing the data file search directories
        

    .. mat:function:: canteraVersion()

        Get Cantera version information

        
        :return:
            A string containing the Cantera version
        

    .. mat:function:: canteraGitCommit()

        Get Cantera Git commit hash

        
        :return:
            A string containing the Git commit hash for the current version of Cantera
        


