Matlab and Mac OS X Mavericks

Legacy support with Phidget21
Hu2bphidg
Fresh meat
Posts: 2
Joined: Sat Jan 04, 2014 2:44 pm
Contact:

Matlab and Mac OS X Mavericks

Postby Hu2bphidg » Sat Jan 04, 2014 2:55 pm

Installed the Phidget bridge (1046). Phidget bridge program works :D

Downloaded matlab sample code. Moved the phidget21matlab_unix.h file to the Matlab path
Installed Xcode 5. Restarted computer.
started loadphidget21.m in MatLab 2010a (64 bit mode).
??? Error using ==> loadlibrary at 428
Building phidget21_thunk_maci64 failed. Compiler output is:
/sw/bin/init.csh: No such file or directory.
phidget21_thunk_maci64.c:291:59: error: expected ';' after top level declarator
EXPORT_EXTERN_C int32 int32CPhidgetLog_levelcstringcstring...Thunk(void fcn(),const char *ca...
^
Error in ==> loadphidget21 at 16
[notfound,warnings]=loadlibrary('/Library/frameworks/Phidget21.framework/Versions/Current/Phidget21',
'phidget21matlab_unix.h', 'alias', 'phidget21');

any ideas what went wrong?
Thank you in advance!

User avatar
Patrick
Lead Developer
Posts: 2990
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Matlab and Mac OS X Mavericks

Postby Patrick » Mon Jan 06, 2014 2:14 pm

I am running Matlab 2012B on Mavericks and don't see this issue - I'm not sure what the problem may be, but I don't have access to the older Matlab for testing.

-Patrick

Hu2bphidg
Fresh meat
Posts: 2
Joined: Sat Jan 04, 2014 2:44 pm
Contact:

Re: Matlab and Mac OS X Mavericks

Postby Hu2bphidg » Tue Jan 07, 2014 1:32 am

Hmm

Maybe the problem is that the new Mavericks and new Xcode use a different GCC?
Maybe the 64 bit versus 32 bit issue is at stake?

So the question is what happens if on a mac running the latest MacOS X an attempt is made to install the drivers for the Phidget. bridge

-Huub

thomasusa80
Fresh meat
Posts: 1
Joined: Sat Sep 20, 2014 4:12 am
Contact:

Re: Matlab and Mac OS X Mavericks

Postby thomasusa80 » Sat Sep 20, 2014 4:36 am

Hmm

Perhaps the issue is that the new Mavericks and new Xcode utilize an alternate GCC?

Perhaps the 64 bit versus 32 bit issue is in question?

So the inquiry is the thing that happens if on a macintosh running the most recent Macos X an endeavor is made to introduce the drivers for the Phidget. span

-Huub


____________
You can easily check out our high quality pass-4sure.info which wikipedia you well for the real Stanford University You can also get success in IBM exam with the quality examsheets.com and LPI


Return to “Matlab”

Who is online

Users browsing this forum: No registered users and 1 guest