How to create test point automatically

1 vue (au cours des 30 derniers jours)
Alikouider
Alikouider le 11 Mai 2022
Commenté : Pat Canny le 12 Mai 2022
Hello everyone,
I would like to create test points automatically and to rename my signal name automatically into exported global
How can I do it, please?
I have tried by this way...but it didn't work
clc;
portHandles = get_param('my_model/F01_pip/F02_pap/F03_poum,'portHandles');
outportHandle = portHandles.Outport;
set_param(outportHandle,'TestPoint','on')
display('Done, have a good day!');
Thanks for your understanding
  1 commentaire
Pat Canny
Pat Canny le 12 Mai 2022
Could you provide a bit more detail on what didn't work? Did you encounter an error?
I assume you are following the steps from this article in Documentation, correct?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Tags

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by