Using MATLAB Package with R2022b and R2021b downloaded

Yes, that’s right. It’s to do with the way macOS is trying to work with the MATLAB code.