Hi Sara,
MATLAB is supported on the M3 chip of MacBook, but it also depends on the release of MATLAB you are using. Releases before MATLAB R2020b Update 3 are not supported on Apple Silicon chips, while releases from MATLAB R2023b onward are supported natively. The following links provide more information regarding the support of Apple Silicon Macs with MATLAB:
- https://www.mathworks.com/matlabcentral/answers/641925-is-matlab-supported-on-apple-silicon-macs
- https://www.mathworks.com/support/requirements/apple-silicon.html
I hope this helps.