S32K144 MBD MLIB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K144 MBD MLIB

946 次查看
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 项奖励
回复
0 回复数