

My Macbook uses an Intel Core i5 processor which is 64-bit, if that can have anything to do with it.Īny suggestions on how to get this running would be highly appreciated. "Error: This platform is unsupported because int is not the same size as long." "Error: This platform is unsupported because long is not 4 bytes." or

The compilation fails producing a bunch of information I don't understand (see file enclosed). It is an issue driven by the OS, not MATLAB. app/bin, where matlabroot is the name of the folder in which you. The matlab script is located in the MATLAB application package, /Applications/ matlabroot /MATLAB release. Here the term matlab refers to this script and MATLAB refers to the program. Mex -I"/Applications/National Instruments/NI-DAQmx Base/includes" acquire1scan.c I have just switched from a PC to a Mac, and I am finding that lots of my MATLAB code previously written when I had a PC does not work on my Mac I have been working on MATLAB for a while now, but. matlab is a shell script that starts the MATLAB ® program from a macOS system prompt. I was informed that mex objects require the inclusion of the NI-DAQmx Base header (NIDAQmxBase.h), so I tried to run c-files provided with the NI-DAQmx Base (v 3.6) driver package. I then tried to do the same to the example data acquisition. Navigate to the folder into which you installed the application. If needed, it also downloads and installs the MCR. The installer installs the MATLAB generated application. Following the instructions provided on that website, I ran mex -setup, edited the mexopts.sh file and succeeded in compiling the simple timestwo.c file for test purposes. Click Next to advance to the Confirmation page. Searching through the internet ( ), I learned that the general way to go is to use the mex command from within MATLAB to compile code written in C into programs understood by MATLAB.
Matlab for mac os mac os#
Being a non-too-skilled computer user, I've been unsuccessfully trying to address an NI USB-6008 A/D converter from within MATLAB R2012b on a Mac OS 10.8.3 for quite a while. I go into the Firefox download section and click on the name of the downloaded file to open it. I wasn't sure which board to post my question to, so if this is not the right place please accept my apologies. I download the MacOS R2017b installer from MATLAB using Firefox and ask to save the file.
