Skip to content

Commit 87d793d

Browse files
authored
made warning on preloading libs more prominent
1 parent e491424 commit 87d793d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ MatlabInput allows MATLAB users to get input from keyboards and joysticks in a n
88
* Extract the .zip file into a folder of your choice
99
* Add the unzipped files to the [MATLAB path](http://www.mathworks.com/help/matlab/ref/path.html)
1010

11-
* The underlying libraries are typically loaded automatically at the first call. However, if you are using other Java libraries, e.g.,
12-
[HebiCam](https://github.com/HebiRobotics/HebiCam) or the [Hebi API](http://hebirobotics.com/matlab), it is better to load all libraries before instantiating any objects.
11+
## Warning: Problems when used with other Java libraries
12+
13+
Typically the underlying Java libraries are loaded automatically at the first call. However, there is a limitation in MATLAB that prevents Java libraries to be loaded once any Java object is instantiated. Thus, if you are using other Java libraries, e.g., [HebiCam](https://github.com/HebiRobotics/HebiCam) or the [Hebi API](http://hebirobotics.com/matlab), you will need to pre-load the libraries manually before using them.
1314

1415
```matlab
1516
HebiKeyboard.loadLibs();

0 commit comments

Comments
 (0)