There are many ways to move data from a matrix into a JMP Data Table. So the method to use, is really dependent upon what/where you are going to put the matrix data in the data table. A JMP Data Table can be dealt with as if it is just a big two dimensional matrix, several one dimensional matrices, A Column and row, much like Excel, etc.
So in your sample, if you were moving your b matrix into a data table you could specify
dt[1,5] = b[1];
// or
Column(1)[5] = b[1];
// or
dt:mySpecs[5] = b[1];
// or
dt << New Column("mySpecs", set values(b));
I strongly suggest you read the sections in the Scripting Guide on Matrices in Chapter 7, and all of Chapter 9, which covers Data Table programming.
Help==>JMP Documentation Library...…….Scripting Guide
Additionally, in your sample function, you seem to be pulling out the Upper Spec Limit, from the Spec Limits column property. You are referencing it at "UL". The List element name is "USL"
Jim