MATLAB does not have built-in functions for NURBS fitting, but you can use the NURBS toolbox available on MATLAB Central File Exchange, such as NURBS-Python (geomdl) or other similar tools. NURBS-Python (geomdl) is a Python library for NURBS, which you can use in MATLAB via Python integration.
However please note that MathWorks does not extend support for these tools