Main Content

Set Up and Copy Run-Time Libraries

R2026b

Use the copyRuntimeDependencies function to copy dependent libraries to the run-time path so that you do not have to set environment variables. This function helps collect the necessary files for distributing to end users.

The clibPublishInterfaceWorkflow script calls this function in the Set up and copy run-time libraries section. Alternatively, call the function after you build a MATLAB® interface to a C/C++ library file using a clibgen.api.InterfaceDefinition object.

See Also

Topics