Effacer les filtres
Effacer les filtres

is it possible to log signals in inner subsystem for SIL tests ?

11 vues (au cours des 30 derniers jours)
elias benkreira
elias benkreira le 5 Sep 2023
Hello everybody
is it possible to log signals in inner subsystems for SIL tests
when i do it for MIL tests it works fine but when i switch to SIL testing it does not work
thank you

Réponses (1)

Ayush Anand
Ayush Anand le 5 Sep 2023
Hi Elias,
I understand you want to know if it is possible to log signals in inner subsystems for SIL tests. It is possible, however, there are a few considerations to keep in mind to ensure proper signal logging within inner subsystems during SIL testing:
  1. Enable signal logging: First, make sure that signal logging is enabled for the signals you want to log. You can do this by right-clicking on the signal line, selecting "Signals & Ports," and then checking the "Log Signal Data" option. This should be done for both the outer and inner subsystems.
  2. Set logging configuration: Check the logging configuration settings for SIL simulation. To do this, go to the Simulation tab in the Simulink Editor and click on "Simulation > Model Configuration Parameters." In the "Data Import/Export" section, ensure that the "Signal logging" option is set to "All" or "Logged" to enable logging for all or selected signals, respectively.
  3. Check signal scoping: Verify that the signals you want to log are visible outside the inner subsystem. By default, signals are scoped to the subsystem they are created in. To make a signal visible outside the subsystem, you can use Outport blocks or enable signal propagation using the "Signal Name Resolution" option in the Model Configuration Parameters.
  4. Ensure proper signal connectivity: Confirm that the signals you want to log are properly connected within the inner subsystem. If a signal is not connected to any output port or not being used within the subsystem, it may not be logged during SIL testing.
  5. Check for SIL-specific limitations: Keep in mind that there might be specific limitations or differences in behavior between Model-in-the-Loop (MIL) and SIL testing. For example, in some cases, certain blocks or features may not be supported in SIL simulation.
You can refer to the following links for the same:
I hope this helps!

Catégories

En savoir plus sur Data Logging dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by