Laser Sensor

4 ビュー (過去 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=[];

カテゴリ

Help Center および File ExchangeWSNs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by