AnsweredAssumed Answered

How to manage the memory using the simulink?

Question asked by Eden Li on Jul 16, 2017
Latest reply on Jul 17, 2017 by dumitru-daniel.popa
Branched from an earlier discussion

Hi Daniel,

Friend,I feel like i am a little confused.How to manage the memory using the simulink? 

I generate the C- code shown as below:

/* S-Function (MemWrite_564xl_fcn): '<Root>/DataMemWrite' */


 /* Memory Address Write */
 /* Memory Address : Base Address + Offset */
 /* Memory Address : 0x40002C88; */
 uint32_T * (write_mem_address);
 write_mem_address = (uint32_T *)0x40002C88;
 *(write_mem_address) = Calibiate1;

What you means is that the Address that i write has been other program occupied.


How can i make sure which memory segment has not been used?


The attachment is my Model.

Original Attachment has been moved to: