Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

Where is MatrixAdd?

Slokko
Slokko
edited November 2024 in RAPID Programming
Hello. I'm trying to cleanup some code and realized i could save a lot of rows by useing MatrixAdd and MatrixReset. "They are in the RAPID Instructions, Functions and Data types for RobotWare 7.15"

But when I try to implement them I get no IntelliSense and Rapid says "Identifier not found"

The code I want to input:
MatrixAdd SavedPositions, PosAdjust, SavedPositions;
MatrixReset PosAdjust;

What gives?
Post edited by Slokko on
Tagged:

Comments

  • MatrixAdd is used to add one matrix to another matrix. A matrix can only be added to another matrix if the two matrices have the same dimensions, and the result will be a matrix with same dimensions as A. 

    lets see your matrix declarations 
  • I think you also have to use dnum data type and the result needs to be a VAR
  • Hello.
    It's not a syntax issue. It was omnicore. Or RobotWare to be exact. A lot of the Matrix-instructions seems to be missing in RW 7.8.2.

    In RW 7.15.2 (and quite possibly earlier) they are back. Problem "solved".  


  • Hello,
    MatrixAdd was introduce from RW 7.14 (in ReleaseNotes)
    They should notify this in Help.

    ☑️2024 - RobotStudio® User Group

  • Ah yes..i had to update to use matrixmult