Hello there,
I am using Simulink Coder with the MCSXTE2BK142.
I want to debug the Simulink signals / data stores in FreeMaster.
What do I have to do in Matlab Simulink so that the signal or data store is listed in the .elf file? If it is listed in the .elf file, I can show the value in Freemaster in real time.
It works in the original example project, but I do not know how to configure it.
It seems to me that I need to change the Storage class of the data store memory block (https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeM...). But I have no option for that. Is there a way for me to configure the storage class of the data store memory somewhere else?
Thanks
Solved! Go to Solution.
Hi @E_S ,
On latest versions of matlab, the data storage changed and there is no longer option to set the storage type from the data memory storage block parameters. Instead you need to switch to Code perspective in your Simulink model :
And you'll see in the bottom bar a Code Mappings - C view:
Go to Data storage tab and there you can see your declared data memories and select the storage class.
Hope this info helps!
Best regards,
Alexandra
The ASAM MCD-2 MC standard, also known as ASAP2, is a data definition standard proposed by the Association for Standardization of Automation and Measuring Systems (ASAM). ASAP2 is a non-object-oriented description of the data used for measurement, calibration, and diagnostic systems. For more information on ASAM and the ASAM MCD-2 MC (ASAP2) standard, see the ASAM website at
Hi @E_S ,
On latest versions of matlab, the data storage changed and there is no longer option to set the storage type from the data memory storage block parameters. Instead you need to switch to Code perspective in your Simulink model :
And you'll see in the bottom bar a Code Mappings - C view:
Go to Data storage tab and there you can see your declared data memories and select the storage class.
Hope this info helps!
Best regards,
Alexandra
Hi E_S,
I redirected your question to the right forum.
Have a nice day!