Search found 8 matches

by GeoffA
Mon May 27, 2013 11:26 am
Forum: MATLAB
Topic: MATLAB x64 issues - no header file?
Replies: 16
Views: 30068

Re: MATLAB x64 issues - no header file?

That works for me too - I didn't realise I had to more fully define the structure before populating it. Thanks for your help! Presumably this header file will get rolled into future SDK releases so other people don't run into the same problems?
by GeoffA
Thu May 23, 2013 8:43 am
Forum: MATLAB
Topic: MATLAB x64 issues - no header file?
Replies: 16
Views: 30068

Re: MATLAB x64 issues - no header file?

Your code works! The problem here is that the unit_info argument wasn't right, because the Programming Guide ~= libfunctionsview == yourCode :) The programming guide says it should be a char pointer (a 1xn char in matlab), where as libfunctionsview says that the unit_info argument should be a cstrin...
by GeoffA
Wed May 22, 2013 11:30 am
Forum: MATLAB
Topic: MATLAB x64 issues - no header file?
Replies: 16
Views: 30068

Re: MATLAB x64 issues - no header file?

Part of the problem I'd had was with using legacy calls from a previous version of the DLL's, but now it more or less seems to be working apart from a couple of niggling things On my laptop running W7HPx64 with compilers properly installed I can now connect properly. libisloaded works fine, so on th...
by GeoffA
Sat May 18, 2013 10:57 am
Forum: MATLAB
Topic: MATLAB x64 issues - no header file?
Replies: 16
Views: 30068

Re: MATLAB x64 issues - no header file?

On my laptop I install SDK 7.1 without any problem, so this is definitely something I'll have to speak to IT about. The library is loaded just fine, but now at the calllib stage to open communications comes up with a 0.. tc08Handle = calllib(usbtc08, 'usb_tc08_open_unit') tc08Handle = 0 ..but I woul...
by GeoffA
Fri May 17, 2013 12:42 pm
Forum: MATLAB
Topic: MATLAB x64 issues - no header file?
Replies: 16
Views: 30068

Re: MATLAB x64 issues - no header file?

The officially supported compiler ( http://www.mathworks.com/support/compilers/R2012b/win64.html ) is the Windows SDK 7.1 ( http://www.microsoft.com/en-us/download/details.aspx?id=8279 ), but unfortunately it errors on installation for reasons that I don't fully understand, but suspect are due to wo...
by GeoffA
Fri May 17, 2013 10:25 am
Forum: MATLAB
Topic: MATLAB x64 issues - no header file?
Replies: 16
Views: 30068

Re: MATLAB x64 issues - no header file?

Trying the header file... Error using loadlibrary (line 419) Building usbtc08_thunk_pcwin64 failed. Compiler output is: cl -I"C:\Program Files\MATLAB\R2012b\extern\include" /W3 /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /nologo -I"C:\Users\iprdadmin\Documents\MATLAB" -I"C:...
by GeoffA
Thu May 16, 2013 3:11 pm
Forum: MATLAB
Topic: MATLAB x64 issues - no header file?
Replies: 16
Views: 30068

Re: MATLAB x64 issues - no header file?

Matlab gives me the following error when I try that header file: Error using loadlibrary (line 419) Building usbtc08_thunk_pcwin64 failed. Compiler output is: cl -I"C:\Program Files\MATLAB\R2012b\extern\include" /W3 /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /nologo -I"C:\...
by GeoffA
Wed May 15, 2013 2:13 pm
Forum: MATLAB
Topic: MATLAB x64 issues - no header file?
Replies: 16
Views: 30068

MATLAB x64 issues - no header file?

Hi folks, I'm trying to get the dll's working in MATLAB 2012bx64. I'm only at the loadlibrary() stage. The SDK has the x64 DLL's which is great, but there's no x64-compatible header file so it errors immediately. Naively commenting out the "ifndef WIN32" gives the error... Error using loadlibrary (l...