Are you running it as apk?
Why aren't you using the Windows version which does not have to go through wsa.
Have a look if the version you have is new enough as evidently the older 2020 and R2021a aren't up for Windows 11.
Platform Road Map for MATLAB and Simulink Product Families - MATLAB & Simulink (mathworks.com)