In addition to running programs and getting output in the Command Window, you can write interactive apps with Graphical User Interfaces (GUI’s) using Matlab’s GUIDE (GUI Design Environment). These can be made into standalone apps, which don’t require a Matlab license, but I found this to be a hassle. The best way to show your work to friends is to record the screen as you demonstrate your app, upload it to your YouTube account, and share the link.
Click to download source code for Matlab app gui05 (zip file) – app shown in movie below
Click to download source code for Matlab app bench&ball (zip file) – app shown in movie below – see links below for how this works