matlabversioning

Compiling MATLAB 2009b applications to Windows Executables


Does anyone know how to add full (n.n.n.n) Windows file version information to COM dlls and .Net Assemblies compiled from MATLAB? The resulting dlls do not seem to contain a VersionInfo structure and so utilities like Resource Hacker don't work.


Solution

  • The -W option to MCC allows specifying a major and minor version, but not the build number.

    mcc -W 'component_type:component_name,class_name,major.minor'
    

    I'm not sure if this is sufficient to at least put the version resource in place so, to allow editing with some other tool.