Hi,
You can do this by clicking on Hide Code button and then Export to PDF. You can find the Hide Code button on the right of the Live Editor window.

Hope that helps
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!