MATLAB: How to create a Windows Service using MATLAB Builder NE 3.0.1 (R2009a)

componentdesignerMATLAB Builder NEmicrosoftstudiovisual

I would like to know how to create a Windows Service (rather than a console application EXE or a Windows form based application) using MATLAB Builder NE 3.0.1 (R2009a).

Best Answer

MATLAB Builder NE 3.0.1 (R2009a) creates DLL assemblies from MATLAB code. These assemblies can be used to create a Windows Service using development tools such as Microsoft Visual Studio. For more information on how to create Windows Services using Visual Studio, please refer to the documentation on the MSDN page below:
<http://msdn.microsoft.com/en-us/library/zt39148a(VS.80).aspx>
<http://msdn.microsoft.com/en-us/library/d56de412(VS.80).aspx>
Please note that when the Windows Service starts up, it will cause the MATLAB Compiler Runtime (MCR) 7.10 (R2009a) also to startup. Hence, please ensure that the MCR is on the system path and that the application has write permissions for the directory to which the CTF will be extracted.