How would one check for installed MATLAB toolboxes in a script/function? (checking toolbox versions would also be good!) This could provide a quick and useful error messag
a quick way is to list the contents of the toolboxes directory:
l = ls( toolboxdir('') )
using that list (excluding a few directories: shared,local), you can find out the version installed of a toolbox using ver:
v = ver('nnet')
as a reference, here's a list of the toolboxes directory names I had:
bioinfo
curvefit
database
gads
ident
images
nnet
optim
pde
signal
stats
wavelet