Skip to content
Discussion options

You must be logged in to vote

Hi Jens @Steineklopfer,

I had the opportunity to play with MATLAB and after quite some trial-and-error got some results.

Using UCanAccess in MathWorks MATLAB

To successfully use UCanAccess in MATLAB (especially with modern versions and Java 11+), it is recommended to bypass the DriverManager if you are using javaaddpath (dynamic classpath), as this can lead to ClassLoader issues. Instead, instantiate the driver directly.

UCanAccess requires at least Java 11. I set up an Eclipse Temurin Java 17 JRE in MATLAB and tested under Windows 11.

Test Script

% Environment Information
fprintf('MATLAB Version: %s\n', version);
fprintf('Java Version:   %s\n', version('-java'));
fprintf('jenv Status:\n')…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Steineklopfer
Comment options

Comment options

You must be logged in to vote
2 replies
@Steineklopfer
Comment options

@Steineklopfer
Comment options

Answer selected by Steineklopfer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants