Lookup table

Jackie_21583
Jackie_21583 Altair Community Member
edited October 2020 in Community Q&A

I just want to create a lookup table by using values in variable browser. However, when I use the variable as the input parameter, which is a 1xn matrix , there is an error shows up 'Input parameter must be a vector'.

Could anyone help me to figure this out? thanks so much.

image.png.286c7b88ad638487b5c00e72c3b089e4.png

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.dedd60312e80e7beabbfa450e6df8d30.png

<?xml version="1.0" encoding="UTF-8"?>image.png

Answers

  • RoKet
    RoKet
    Altair Employee
    edited June 2020

    Hi Jackie,

     

    Two things are necessary to be changed:

    1.  A instead of 'A'
      grafik.png
       
    2. Definition of A in Model context or Diagram Home context
      grafik.png

      - or -

      GetFromBase('A') instead of A
      grafik.png

    Regards

  • Jackie_21583
    Jackie_21583 Altair Community Member
    edited June 2020

    Thanks so much for your help!