# MATLAB: How to check to see if a specific package is installed during runtime

packages runtime

My personal computer has the Parallel Computing Toolbox, but my work computer does not. How can I check during runtime if the computer I am running a program on has that package installed? Thanks in advance!

ver('distcomp')                  %this tells you whether it is _installed_license('test','Distrib_Computing_Toolbox')   %this tells you whether it is _licensed_