Information Technology Reference
In-Depth Information
Compiling steps of COM modules by MATLAB software are as followings.
Create a project.
Add M files into the project.
compile modules. Command mbuild - setup is inputted in MATLAB command
window for selecting compiling tools. MATLAB COM Builder is started by inputting
command Comtool. Select “File→New Project” in COM Builder and set option
“Component Name” with PCB to create PCB class automatically, as shown in figure 2.
If MATLAB graphics library is needed, select option “Create a singleton MCR”. Prop-
erties sets of modules is as shown in figure 3. If files are needed to be added into a
project, then select “Project→AddFile” of PCB at the left side of the workspace, and
select compiled M file jc.m. An object file is built and PCB _1_0.DLL module is
Fig. 3. MATLAB Builder dialog
Fig. 4. MATLAB Builder dialog
Search WWH ::




Custom Search