필터 지우기
필터 지우기

Laser Sensor

조회 수: 5 (최근 30일)
developer
developer 2011년 4월 28일
Hello, Actually i am using a laser sensor and, it is working with matlab 2007 but not working with the latest versions of matlab, the company also told me that they have designed the code in matlab 2007, but i dont know that why its not working in latest versions of matlab, when i try to run the code its saying that their is some library file that is not found in latest versions of matlab, but its working fine with matlab 2007.
The warning message that i am getting in latest version is:
Warning: A loader file was supplied that was built with a previous version of MATLAB that will not be supported in future versions of MATLAB. > In loadlibrary at 438 In FZSDKComm at 224 In SDKComm at 54 In InitSDKComm at 100 In OpenCamera at 24 In TOFExample at 31
So please help me to solve this issue
  댓글 수: 2
Chirag Gupta
Chirag Gupta 2011년 4월 28일
Some more details, like the error or the details of the library not found will be helpful!
developer
developer 2011년 4월 28일
actually i am getting this warning
Starting camera...
Warning: Shared libraries are not supported on this platform. Functions that do not have a mexFunction signature may have
unpredictable results.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sean Lynch
Sean Lynch 2011년 5월 14일
[EDIT: 20110514 03:28 CDT - reformat - WDR]
The interface XXXX_proto.m files has changed.
You need to add an additional field to the top of the file called 'ThunkLibName', this was aded to support 64bit libraries.
Here is an extract from the start of a proto file created with Matlab R2008b
function [methodinfo,structs,enuminfo,ThunkLibName]=BasebandDriverV3_proto
%BASEBANDDRIVERV3_PROTO Create structures to define interfaces found in 'cciEntry'.
%This function was generated by loadlibrary.m parser version 1.1.6.24 on Sat May 14 09:11:18 2011
%perl options:'cciEntry.i -outfile=BasebandDriverV3_proto.m'
ival={cell(1,0)}; % change 0 to the actual number of functions to preallocate the data.
fcns=struct('name',ival,'calltype',ival,'LHS',ival,'RHS',ival,'alias',ival);
structs=[];enuminfo=[];fcnNum=1;
ThunkLibName=[];

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by