5.0

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 21.21 KB File ID: #3309

MEX-file template for Project Builder

by Tom Davis

 

22 Apr 2003 (Updated 28 Apr 2003)

Easily create and debug MEX-files in Project Builder.

| Watch this File

File Information
Description

This MacOS X Project Builder template can be used to easily create a MATLAB MEX-file project. Source level debugging of the MEX-files is the primary benefit of using this template.

MATLAB release MATLAB 6.5 (R13)
Other requirements Mac OS X 10.2.5 MATLAB Version 6.5.0.185000 (R13) Project Builder Version 2.1 (December 2002 Developer Tools)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
24 Oct 2005 Peter Gurk

In Tiger with Matlab r14 the following settings worked:
the directory of the sit archive should be copied to /Library/Application Support/Apple/Developer Tools/Project Templates/Bundle
Then in XCode, make sure that in the Executable pane (not in Targets), Matlab is selected. Check everywhere in Target settings that the path to Matlab is correct. Also, make sure that the mexfunction declaration contains the "const" keyword for the input argumetns like this:
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
"

Please login to add a comment or rating.
Updates
28 Apr 2003

Cleared history file; Readme now appears in editor pane; no longer see yprime as one of the executables

Tag Activity for this File
Tag Applied By Date/Time
development environment Tom Davis 22 Oct 2008 07:00:14
project builder Tom Davis 22 Oct 2008 07:00:14
macos Tom Davis 22 Oct 2008 07:00:14
x mexfile Tom Davis 22 Oct 2008 07:00:14
template Tom Davis 22 Oct 2008 07:00:14

Contact us at files@mathworks.com