Error: STG2008 from Matlab
Page 1 of 1
Error: STG2008 from Matlab
I am using Matlab (7.4.0.287 - R2007a) and the very latest version of the MC_Stimulus II package (2.4.1) and I would like to use Matlab to interact with the STG2008 (SW: 2.33, HW: 3.02 15.01.2004).
Unfortunately, following the very first two lines of the 'example.m' script file, I get an error after typing:
>>> cd C:\Program Files\Multi Channel Systems\MC_Stimulus II\Documentation\Matlab
>>> addpath('C:/Program Files/Multi Channel Systems/MC_Stimulus II')
>>> loadlibrary('MCS_USB_Lib', 'MCS_USB_Lib.h')
??? There was an error loading the library "MCS_USB_Lib"
Error using ==> loaddefinedlibrary
The specified module could not be found.
Adding
>>> addpath('C:\Program Files\Multi Channel Systems\MC_Stimulus II\Documentation\C++\DLL')
and/or
>>> addpath('C:\Program Files\Multi Channel Systems\MC_Stimulus II\Driver')
does not help.
As these are the very first lines of the "example.m" script provided in the Matlab directory, I am lost.
Typing instead:
>> loadlibrary('McsUsbDLL', 'MCS_USB_Lib.h')
successfully returns but produces the following warnings..
Warning: The function 'STG200x_GetStringDescriptor' was not found in the library
> In loadlibrary at 321
Warning: The function 'STG200x_GetIdent' was not found in the library
> In loadlibrary at 321
Do I have to replace 'McsUsbDLL' wherever there is 'MCS_USB_Lib' ?
Thanks in advance,
Yours
Michele
Unfortunately, following the very first two lines of the 'example.m' script file, I get an error after typing:
>>> cd C:\Program Files\Multi Channel Systems\MC_Stimulus II\Documentation\Matlab
>>> addpath('C:/Program Files/Multi Channel Systems/MC_Stimulus II')
>>> loadlibrary('MCS_USB_Lib', 'MCS_USB_Lib.h')
??? There was an error loading the library "MCS_USB_Lib"
Error using ==> loaddefinedlibrary
The specified module could not be found.
Adding
>>> addpath('C:\Program Files\Multi Channel Systems\MC_Stimulus II\Documentation\C++\DLL')
and/or
>>> addpath('C:\Program Files\Multi Channel Systems\MC_Stimulus II\Driver')
does not help.
As these are the very first lines of the "example.m" script provided in the Matlab directory, I am lost.
Typing instead:
>> loadlibrary('McsUsbDLL', 'MCS_USB_Lib.h')
successfully returns but produces the following warnings..
Warning: The function 'STG200x_GetStringDescriptor' was not found in the library
> In loadlibrary at 321
Warning: The function 'STG200x_GetIdent' was not found in the library
> In loadlibrary at 321
Do I have to replace 'McsUsbDLL' wherever there is 'MCS_USB_Lib' ?
Thanks in advance,
Yours
Michele
Re: Error: STG2008 from Matlab
Dear Michele,
we introduced new USB devices and we wanted one function call for all devices. Therefore we introduced the functions McsUsb_GetStringDescriptor and McsUsb_GetIdent. Sorry for the inconvenience.
Kind regards,
Gerald
we introduced new USB devices and we wanted one function call for all devices. Therefore we introduced the functions McsUsb_GetStringDescriptor and McsUsb_GetIdent. Sorry for the inconvenience.
Kind regards,
Gerald
Re: Error: STG2008 from Matlab
Thanks indeed for your reply..
I still have serious problems: this time I tried to run one of the example matlab script (example_streaming.m): it consistently crashes the computer showing the "blue screen" :-((((
I just downloaded the new version of McRack and updated to the latest STG8000 firmware.
I have two STG8000 and ..I would love to be able to use them from Matlab. Any idea to help me for this serious repeatable crash of Windows?
Thanks in advance to any user who might want to share his code and or experience on this topic.
Yours,
M
I still have serious problems: this time I tried to run one of the example matlab script (example_streaming.m): it consistently crashes the computer showing the "blue screen" :-((((
I just downloaded the new version of McRack and updated to the latest STG8000 firmware.
I have two STG8000 and ..I would love to be able to use them from Matlab. Any idea to help me for this serious repeatable crash of Windows?
Thanks in advance to any user who might want to share his code and or experience on this topic.
Yours,
M
Similar topics
» mcstreammex error
» error loading the library "McsUsbDLL" with Matlab R2009b (Mac)
» DBConvert error message
» DataManager Error
» 1.#QNAN0 error
» error loading the library "McsUsbDLL" with Matlab R2009b (Mac)
» DBConvert error message
» DataManager Error
» 1.#QNAN0 error
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum