copyRuntimeDependencies
R2026bClass: clibgen.LibraryDefinition
Namespace: clibgen
(Not recommended) Copy run-time libraries to C++ interface library folder
Since R2023a
copyRuntimeDependencies is not recommended. For more information on updating your code,
see Version
History.
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.
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.
copyRuntimeDependencies(libdef,options) copies run-time libraries
with additional options specified by one or more Name=Value
arguments.