Hello Pawel,
Raspberry Pi 4B is a significant upgrade over earlier versions. As of today(Sept 2019), the latest release, MATLAB R2019b supports upto 3B+. The development team is actively looking into the request for 4B support and it will be made available in one of the future releases.
Thanks,
Prasanth