- MATLAB Function block: https://www.mathworks.com/help/releases/R2021a/simulink/what-is-a-matlab-function-block.html?s_tid=doc_srchtitle
- SIL/PIL Manager: https://www.mathworks.com/help/releases/R2021a/ecoder/ref/silpilmanager-app.html?s_tid=doc_srchtitle
Can you use SIL/PIL on a combined MATLAB/Simulink model?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am testing a model which contains both MATLAB and Simulink. Is it possible to use SIL/PIL testing on both the MATLAB and Simulink components together as a combined entity? Or must the MATLAB component be tested using the MATLAB SIL/PIL and Simulink component be tested by the Simulink SIL/PIL
Thanks
0 commentaires
Réponses (1)
Jesús Zambrano
le 31 Août 2021
Hey Joshua,
You can place your MATLAB code in a MATLAB function block. This block can be part of a Simulink model, and you can do SIL/PIL verification of the entire model using the SIL/PIL Manager. Try to avoid any continuous sample time in the Simulink model when doing this workflow.
For more information about the topics mentioned above can be found in the following links:
Hope it helps!
Jesús
0 commentaires
Voir également
Catégories
En savoir plus sur Test Model Components dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!