I am a physicist using an ADC24 for lab measurements and planning to build custom operating software using Matlab
I have a problem getting started. I am using Windows 7 64-bit enterprise SP1
Here is the problem:
MEX configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation.
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the
new API. You can find more information about this at: http://www.mathworks.com/help/matlab/ma ... t-api.html
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
LibNam = ‘PicoHRDL’
Error using loadlibrary (line 447)
Failed to preprocess the input file.
Output from preprocessor is:HRDL.h
C:\Users\adminlocal\Documents\MATLAB\HRDL.h(14) : fatal error C1189: #error : Operating
system not defined
I note the HRDL.h file refers to WIN32. Is this the problem? I have tried some obvious changes without success.