Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This article is devoted to MatLab applications which use the SAP2000 API OAPI.

Single-cell arrays

To ensure compatibility between MatLab and the SAP2000 APIOAPI, 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 API OAPI expects an array.

Show if
groupeditors

Related Emails:

  • Email Handling of arrays with single element in Matlab: (bt → rs, 5/26/2011, ID 7635970)

Related Incidents:

  • Incident 35420: Confirmation that the above works.