Generate out put signal to A2L file

8 次查看(过去 30 天)
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.

回答(1 个)

Sanchita Ghosh
Sanchita Ghosh 2020-8-27
编辑:Sanchita Ghosh 2020-8-27
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.

类别

Help CenterFile Exchange 中查找有关 Outputs 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by