S32K144 MBD MLIB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144 MBD MLIB

503 Views
ykarata1
Contributor IV

Dear All,

 

I am trying to exchange some of our Simulink math block with NXP MLIB blocks so as to decrease execution time.

 

We have a lot of matrix calculations and process in our model based design.

 

So I wanted to discover what I can do with MLIB functions. I have started with MLIB_VAdd_FLT and created a basic model that sums two vectors. Initially it was successful. But I tried to increase number of indices in a vector. For instance I did want to sum two 1x5 vectors and could not manage to do so.

 

My model is just show below. It sums two vector that has only two indices.

 

Capture.PNG

 

Result that is seen in FreeMaster.

Capture2.PNG

But I want to sum not  only two indice vector but also vectors that has more element than two. How can I do it ? 

Capture3.PNG

 

Any help will be appreciated.

 

Thansk.

0 Kudos
0 Replies