OAPI-MatLab considerations
Single-cell arrays
To ensure compatibility between MatLab and the SAP2000 OAPI, each single-cell array (1x1 matrix) should be dimensioned as a 2x1 matrix, then the value should be addressed to the first cell. By default, MatLab settings store numeric values within the double-precision floating-point numeric class, which would otherwise pose a problem since the OAPI expects an array.