Hello, you have to download the 3.3 jars from (https://repo1.maven.org/maven2/com/google/zxing/javase/3.3.0/ and https://repo1.maven.org/maven2/com/google/zxing/core/3.3.0/). These functions are inside differente folders for this matlab code, so you have to change the imports in this way:
For encode function:
import com.google.zxing.qrcode.*;
import com.google.zxing.*;
For decode function:
import com.google.zxing.qrcode.*;
import com.google.zxing.client.j2se.*;
import com.google.zxing.*;
import com.google.zxing.common.*;
import com.google.zxing.Result.*;
There are another changes to do:
in function encode M_java.height and M_java.width are invalid, instead use M_java.getHeight(), M_java.getWidth()
Special thanks for Ari Bejarano (the Java's Master) and to Andres Puerto for developing this solution.