Skip to content

Error in loading liblsl in MATLAB #28

@mustafam17

Description

@mustafam17

Hey everyone,

I'm attempting to get liblsl working with MATLAB R2019b. I've downloaded the correct release for my platform and MATLAB version as well as downloading the repository. After I set the correct path, I built the mex file, and I tried to load the library and called the first function lib = lsl_loadlib(); and then the second function version = lsl_library_version(lib) as it states in the README. Unfortunately, I recieved an error for the first function:

>> lib = lsl_loadlib(); version = lsl_library_version(lib)
See https://github.com/labstreaminglayer/liblsl-Matlab/#troubleshooting for troubleshooting tips
Error using lsl_loadlib (line 69)
Error loading the liblsl library: Undefined function 'lsl_loadlib_' for input arguments of type 'char'.

I then went to Option 2 and 3, yet ran into the same exact issue each time.

I tried this same process on multiple devices, all with the same platform and MATLAB version, and also with the R2012a version, and I again ran into the same issue. Can someone let me know if there is any solution for this? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions