Generate out put signal to A2L file

12 Ansichten (letzte 30 Tage)
Hiroshi
Hiroshi am 9 Jul. 2020
Bearbeitet: Sanchita Ghosh am 27 Aug. 2020
I tried rtwdemo_asap2 and input signal is generated in A2L file but output signal is not generated on A2L file. I would like to know why and if there is way to generate A2L file for output signals.

Antworten (1)

Sanchita Ghosh
Sanchita Ghosh am 27 Aug. 2020
Bearbeitet: Sanchita Ghosh am 27 Aug. 2020
Hi Hiroshi,
I am assuming that you are using MATLAB latest version. To generate the output signal on A2L file , you can follow any one of these approaches,
  1. you can mark the relevant output signal as "test point".
i. Select the output signal
ii. Open Property Inspector
iii. Check the Check-box for "Test point" (Highlighted in the figure below).
Also you can follow this doc link
Where it is mentioned that:
"ASAP2 data definition is achieved with Simulink® data objects and test point signals. "
2. Alternatively you can create a simulink object for the relevant output signal with the storage class "ExportedGlobal".
Using both of the above approach you will be able to generate output signal on A2L file.

Produkte


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by