Using MATLAB Package with R2022b and R2021b downloaded

I see there is a very similar issue reported at the MATLAB.jl repo

My best guess is that you are using a newer Apple silicon Mac? So you would have downloaded the Julia version under macOS ARM (M-series Processor) from the downloads page?

Would you be willing try to use the macOS x86 (Intel or Rosetta) version of Julia instead? (More info about Rosetta here.) This may work based on experience in this issue.