首页 > 编程知识 正文

matlab 自定义头文件报错,matlab如何用指针

时间:2023-05-04 10:34:48 阅读:246396 作者:38

请教各位大俠

我使用Matlab从一个Labjack U3数据读取装置,

将某固定时间长度的电压数据读至档案中,

负责执行工作的m file(Stream.m),

有用到另一个m file(ljud_LoadDriver.m)来呼叫装置的驱动,

我试着按照之前的帖子改后,在complie后(编译的指令使用mcc -m Stream.m -a ljud_LoadDriver.m)

,执行Stream.exe 后仍然有问题,

错误讯息为下

Warning: feval on script names will not work, or may work differently,

in a future version of MATLAB. To make your code insensitive to any change

and to suppress this warning message:

- Either change the script to a function.

- Or use eval instead of feval.

The script file in question is ljud_LoadDriver.

> In loadlibrary at 429

In Stream at 56

In labjack2>pushbutton2_Callback at 351

In gui_mainfcn at 96

In labjack2 at 44

??? Error using ==> loadlibrary at 474

Attempt to execute SCRIPT ljud_LoadDriver as a function:

C:DOCUME~1AngusLOCALS~1TempAngusmcrCache7.10start_11startljud_LoadDriver.m

Error in ==>loadlibrary at 429

There was an error running C:Program

FilesMATLABR2009atoolboxcompilermcrmatlabgeneralloadlibrary.m.

Run loadlibrary from the command line to reproduce the error and fix it.

请问各位大侠,sxdgq有哪里编程错了,或是有什么方法可以解决此错误,

附上Stream.m及ljud_LoadDriver.m档供dfdlz参照

附注:LabJackUD.h和labjackud.lib皆在 ç: Program FilesLabJackdrivers内

抱歉,我是新手,请多多指教,谢谢!!

Struts2的​HTML非表单标签有哪些

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。