MATLAB Excel Builder | ![]() ![]() |
Building a Project
After you define your project settings and add the desired M- and MEX- functions, you can build a deployable DLL and the necessary Visual Basic for Applications (VBA) code that allows Excel to access the DLL. Choosing Build -> EXCEL/COM Files or clicking the Build button invokes the MATLAB Compiler, writing the intermediate source files to <project_dir>\src
and the output files necessary for deployment to <project_dir>\distrib
.
Build Status
The Build status panel shows the output of the build process and informs you of any problems encountered. The files appearing in the <project_dir>\distrib
directory will be a DLL and a VBA file (.bas
). The resulting DLL is automatically registered on your system.
To clear the Build status panel, select Build -> Clear Status. The output of the build process is saved in the file <project_dir>\build.log
. To open the Build Log, choose Build -> Open Build Log. The Build Log provides a record of the build process that you can refer to after you have cleared the Build status panel. If you ever contact MathWorks Technical Support with a question about the build process, you will be asked to provide a copy of this log.
![]() | Managing M-Files and MEX-Files | Testing the Model | ![]() |