In our own branch of the CASPER tools (https://github.com/FrancoCalan/mlib_devel/tree/roach2) we added a feature that allows MATLAB to notify you whenever model a compilation started, is completed, or failed the compilation, via a bot from the Telegram messaging app. This is very useful because you can receive real-time notifications of your compilation status in your phone. To activate this feature follow these steps:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates
telegram_bot = struct('token', <YOUR TOKEN AS A STRING>, 'chat_id', <YOUR CHAT_ID AS STRING>)
save('telegram_bot.mat', 'telegram_bot')
That should be it. You can test your bot by compiling a model. It should send you a message when you start the compilation, and when it finishes or fails.