The NURBS toolbox, created by Mark Spink, is a very useful tool. However, some of the routines were written in C. This is not necessarily a bad thing as long as you know how to compile them to mex files for your machine. If you don't want to mess with mex files, or you want to be able to edit the code and don't know anything about C, I've rewritten the C code in MATLAB. You can find the original toolbox at
The included files replace the following mex files with the m-file equivalent.
In addition, I've included the translated C code in the comments, line for line.
This does not include every file in the NURBS toolbox, just the mex files. You will still want to download the toolbox and replace the mex files with the included files.
Daniel Claxton (2021). NURBS (https://www.mathworks.com/matlabcentral/fileexchange/14247-nurbs), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: NURBS Toolbox by D.M. Spink
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!