I'm looking for a good Matlab package/library for B-Splines approximation. Ideally, it would take knots $t_1, \ldots , t_n$, and data points $g(t_1),\ldots , g(t_n)$, and Produce $$Vg :\,= \sum\limits_{j=1}^n B_i ^k (t) g_i \, , $$ where the $B_i ^k$'s are the B-spline basis of order $k$ with respect to the given knots-set.
Remarks:
Really, I just need the cubic B-Splines, and "simple" knots, i.e., without repeating a note twice.
I follow the definitions in pp. 160 of C. De Boor, A Practical Guide to Splines, 1978.