liblsl-Matlab icon indicating copy to clipboard operation
liblsl-Matlab copied to clipboard

Error Loading liblsl Library

Open SalIITGN opened this issue 2 years ago • 3 comments
trafficstars

I am trying to run a program from liblsl-Matlab to send strings. However, I am receiving the error: "Error loading the liblsl library: Undefined function 'lsl_loadlib_' for input arguments of type 'char'. Make sure liblsl-Matlab/bin is added to path and try running build_mex.m'

The directory has been added to the Matlab path. I would be thankful for any help. (I am using Windows platform.)

SalIITGN avatar Nov 23 '22 05:11 SalIITGN

Do you have lsl.dll in that path? It's supposed to download automatically if it's missing, but maybe something is preventing it from downloading.

Get it from here: https://github.com/sccn/liblsl/releases

Another possibility is that the dll is somehow incompatible with Matlab, in which case you'll have to build the dll on your own using a compiler specified by Matlab as being compatible: https://www.mathworks.com/support/requirements/supported-compilers.html

cboulay avatar Nov 23 '22 07:11 cboulay

Thanks for the suggestion.

I also wanted to know if there is any way to link Labview and Labstreaminglayer, like we have interfacing for Matlab and labstreaminglayer.

Kind Regards

On Wed, Nov 23, 2022 at 1:10 PM Chadwick Boulay @.***> wrote:

Do you have lsl.dll in that path? It's supposed to download automatically if it's missing, but maybe something is preventing it from downloading.

Get it from here: https://github.com/sccn/liblsl/releases

Another possibility is that the dll is somehow incompatible with Matlab, in which case you'll have to build the dll on your own using a compiler specified by Matlab as being compatible: https://www.mathworks.com/support/requirements/supported-compilers.html

— Reply to this email directly, view it on GitHub https://github.com/labstreaminglayer/liblsl-Matlab/issues/35#issuecomment-1324659218, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4K54KJOJVK6ADGOF5UE3TLWJXC5HANCNFSM6AAAAAASIRYTJE . You are receiving this because you authored the thread.Message ID: @.***>

SalIITGN avatar Nov 24 '22 10:11 SalIITGN

Please look here: https://github.com/sccn/labstreaminglayer/issues/21

cboulay avatar Nov 24 '22 14:11 cboulay