AnsweredAssumed Answered

How to add variables to a Matlab/simulink model based on STM32-MAT ?

Question asked by Tang.Lixin.001 on Apr 21, 2017
Latest reply on Jun 11, 2017 by F J

Greetings,

 

I am new to STM32-MAT code generation. I made 2 small models and they are working as expected.

 

However, I found a big issue when I try to build a more complicated model - there is no variable (memory copy) in the library. I can read/write values to/from register of the STM32F100. But sometimes, I need to define/use a lot of variables in the model. Just wondering how do you guys handle this situation? Maybe there is one block that is hiding somewhere?

 

Many thanks and have a great weekend!

 

Lixin

Outcomes