Hi, I am using MATLAB R2018b and I also had this issue, I think that Bioformats did not catch up with the new Matlab release.
The issue is the is_octave(), you just have to comment everything out, since you know you are using Matlab.
In bfCheckJavaPath
% if is_octave()
% version = char(java_get('loci.formats.FormatTools', 'VERSION'));
% else
version = char(loci.formats.FormatTools.VERSION);
% end
Also in createMinimalOMEXMLMetadata.m, as bfsave will not work as well
% if is_octave()
% java_true = java_get('java.lang.Boolean', 'TRUE');
% else
java_true = java.lang.Boolean.TRUE;
% end