Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_hastoolbox”.

  FT_HASTOOLBOX tests whether an external toolbox is installed. Optionally
  it will try to determine the path to the toolbox and install it
  automatically.
 
  Use as
    [status] = ft_hastoolbox(toolbox, autoadd, silent)
 
  autoadd = 0 means that it will not be added
  autoadd = 1 means that give an error if it cannot be added
  autoadd = 2 means that give a warning if it cannot be added
  autoadd = 3 means that it remains silent if it cannot be added
 
  silent = 0 means that it will give some feedback about adding the toolbox
  silent = 1 means that it will not give feedback