Answering my own question. It turns out that the old template for Xcode 5.1 still works, though it does seem to destabilize Xcode: I've had several crashes of Xcode, despite it being an extremely stable app otherwise. But once the template is installed, Xcode offers the familiar Mex-files option when a target is created. And choosing this option results in the mex.xcconfig file being automatically included. After installing the template and restarting Xcode, there is still some manipulation of the build settings to be done (User path, library path etc don't seem to work with relative paths), but otherwise its business as usual.
How do I create a mex file in Xcode 7
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
John Knowles
il 15 Giu 2016
Risposto: John Knowles
il 16 Giu 2016
I have installed Xcode 7, and when i use the IDE to build pre-existing code for mex files, it works fine, yielding a file with a .mexmaci64 suffix. However when I try to create a new target, Xcode no longer offers me the Mathworks template, so it is not clear what sort of template I should create. I tried command line tool but this is obviously wrong: it builds fine but creates a file without a suffix. What template type should I select? Is there a Mathworks template for Xcode 7?
Also, do I still need the mex.xcconfig file? I included it as I used to with older Xcode versions, but it seems to have no effect.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Compiler in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!