Loading phidget library on Matlab R2013b and Mac OSX10.9

Supporting 10.7 and up
Tromas
Fresh meat
Posts: 1
Joined: Mon Nov 04, 2013 2:14 pm
Contact:

Loading phidget library on Matlab R2013b and Mac OSX10.9

Postby Tromas » Mon Nov 04, 2013 2:24 pm

Hi,
I'm seeing an issue with when I run the loadphidget21.m from my Matlab R2013B on OSX 10.9 (Mavericks). The issue happens in a sub call (getLoadlibraryCompilerConfiguration) and I can't figure out why the function is being passed an invalid index. My buddy is running Matlab R2013A on OSX 10.8 and the running loadphidget21.m is working just fine. Any idea out there why this is not working?

Attempted to access out(0); index must be a positive integer or
logical.

Error in loadlibrary>getLoadlibraryCompilerConfiguration (line 539)
if (strcmp(out(end),
char(10)))

Error in loadlibrary (line 253)
[thunk_build_fn,preprocess_command]=getLoadlibraryCompilerConfiguration(ccinclude,header,headername,compilerConfiguration);

Error in loadphidget21 (line 16)
[notfound,warnings]=loadlibrary('/Library/frameworks/Phidget21.framework/Versions/Current/Phidget21',
'phidget21matlab_unix.h', 'alias', 'phidget21');

Return to “macOS”

Who is online

Users browsing this forum: No registered users and 1 guest