generateFromText
R2026bSyntax
Description
Add-On Required: This feature requires the 3D Asset Processing Library for MATLAB add-on.
generates a 3D asset from a natural language text description, meshObj = generateFromText(trellisObj,prompt)prompt,
using a trellis object,
trellisObj. The function returns the 3D asset as a Mesh object,
meshObj.
specifies one or more options using name-value arguments. For example,
meshObj = generateFromText(trellisObj,prompt,Name=Value)TextureSize=2048 sets the resolution of the
generated texture image to 2048 pixels.
Note
This feature requires Deep Learning Toolbox™ and a GPU with at least 16 GB of memory and a CUDA® compute capability of 7.0 or higher.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Limitations
macOS does not support generating 3D mesh assets from images or text prompts.
Version History
Introduced in R2026b

