Wiki Markup |
---|
MATLAB has a number of little quirks that the users have to deal with to use SAP2000 API. The goal of this page is identify such issues that we are aware of.
{on-this-page}
h1. Handling of arrays with single element
Apparently, MATLAB converts arrays with a single element (i.e. 1x1 matrices) to a regular double. This poses a problem when the API is expecting array and the workaround is to dimension the arrays to 2x1 and use only the first element of the array.
{hidden-content}
Related emails:
* {email:date=5/26/2011|from=bt|to=rs|subject=Handling of arrays with single element in Matlab|comment=|id=7635970}
Related incidents:
* {incident:no=35420|comment=Confirmation that the above works.}
{hidden-content} |
Page Comparison
Manage space
Manage content
Integrations