Hi Dawid,
Kindly follow the below procedure -
- Go to Preferences
- Go to General
- Click MAT-Files and select "MATLAB Version 7.3 or later".
- Then save the figure using savefig().
You can also use the compact option as the last parameter (doc link) since this option results in smaller .fig files.