MATLAB XPC TARGET RELEASE NOTES Manuel d'utilisateur Page 14

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 51
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 13
14
Including several variables in the selection can be made by using | in the regular expression
for name:
model Selection3
annotation (__Dymola_selections={
Selection(name="MySelection",
match={ MatchVariable (name="*.(phi|tau)", newName="%path%")})});
end Selection3;
Resulting in:
Alternatively of using |, several matchings can be used. They are or’ed.
model Selection4
annotation (__Dymola_selections={
Selection(name="MySelection",
match={ MatchVariable (name="*.phi", newName="%path%"),
MatchVariable (name="*.tau", newName="%path%")})});
end Selection4;
It is possible to build subtrees, by including a subtree name in the newName path:
Vue de la page 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 50 51

Commentaires sur ces manuels

Pas de commentaire