TOOLBOX_USED list all Matlab toolboxes used by all functions in pkgPath

Contents

inputs

Outputs

function [tbxMathworks, funUser] = toolbox_used(pkgPath)
arguments
  pkgPath string
end

[user, mathworks] = matlab.codetools.requiredFilesAndProducts(pkgPath);

tbxMathworks = string({mathworks.Name}).';

funUser = string(user).';

end