copyRuntimeDependencies
Class: clibgen.LibraryDefinition
Namespace: clibgen
Syntax
copyRuntimeDependencies(libdef)
copyRuntimeDependencies(libdef,options)
Description
      copyRuntimeDependencies(libdef) copies each run-time library specified in
        libDef to the folder containing the interface library file created by the
      build command. This folder is on the MATLAB® path, making the files available when you test. The clibPublishInterfaceWorkflow script calls this function in the Set up and copy
      run-time libraries section. For more information, see Set Up and Copy Run-Time Libraries.
This function collects the necessary files for distributing to end users so that they do not have to set environment variables to call functions in the library. For information about sharing with MATLAB users, see Distribute MATLAB Interface to C++ Library.
copyRuntimeDependencies(libdef,options) copies run-time libraries
      with additional options specified by one or more Name,Value pair
      arguments.
Name-Value Arguments
Examples
Version History
Introduced in R2023a