Hi,
I'm using MATLAB 2023b.
I have the same issue, I think I have tried everything up to selecting the host and bootloader COM-ports nothing seems to work.
In desperation I tried to return to an older version of AEK-Rev-1Hardware-Support package (2018b) resulting in the missing of the MKRmotorshield when trying arduinosetup. (I'm now using the 2019a+ version)
When running a Simulink-file on the board it starts my DC-motor on a constand speed and doesn't responde at all. Time in the bottom left corner doesn't seem to increase and the stop button in simmulink doesn't change the state of either simulink or the board.
Any tips?
Going to a different older MATLAB version is not an option sadly enough.