releaseGPUMemory
R2026bDescription
Add-On Required: This feature requires the 3D Asset Processing Library for MATLAB add-on.
releaseGPUMemory( moves the Trellis
models associated with trellisObj)trellisObj from the GPU to the CPU, and clears the
CUDA® memory cache using the trellis object
trellisObj. The models move back to the GPU automatically on the next
generation or modification call.
Note
This feature requires Deep Learning Toolbox™ and a GPU with at least 16 GB of memory and a CUDA compute capability 7.0 or higher.
Examples
Input Arguments
Limitations
macOS does not support generating 3D mesh assets from images or text prompts.
Version History
Introduced in R2026b