Filter löschen
Filter löschen

Internal Signal logging during SIL Simulation

23 Ansichten (letzte 30 Tage)
Vishakha Bhatia
Vishakha Bhatia am 11 Jul. 2019
Kommentiert: Nick Sarnie am 8 Aug. 2019
Hello All,
Has anyone tried logging internal signals in SIL Simulation?
The suggested C API method from Mathworks is not working in my case.
Regards,
Vishakha

Antworten (1)

Nick Sarnie
Nick Sarnie am 13 Jul. 2019
Bearbeitet: Nick Sarnie am 13 Jul. 2019
Hi Vishakha,
Are you following the below workflow?
If so, can you confirm that the internal signal of interest is present in the generated code? You may need to mark it as a Test Pointed signal to get it to be preserved.
If a buffer for the signal of interest is preserved in the general code, but SIL internal data is not working, please contact Technical Support and reference this post.
Thanks,
Nick
  3 Kommentare
Vishakha Bhatia
Vishakha Bhatia am 8 Aug. 2019
Bearbeitet: Vishakha Bhatia am 8 Aug. 2019
Hello Nick,
For R2015b. where for SIL simulation if SIL / PI Lblock is used and not model reference, even if the signal is present in capi.c, it is not present in logs out to be monitored.
I am thinking this is a bug.
Regards,
Vishakha
Nick Sarnie
Nick Sarnie am 8 Aug. 2019
Please feel free to contact Technical Support.

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by