Effacer les filtres
Effacer les filtres

How to declare global variable in Simulink?

7 vues (au cours des 30 derniers jours)
Tejas
Tejas le 3 Oct 2023
Commenté : Tejas le 4 Oct 2023
Hello,
I have set of signals in my model, I want them to declare as global variable(not local variables) in Autosar code generated from my model. How can I do this in simulink without use of MATLAB function, as I have many input signals. And these signals are coming through inport block.
Can I do it by changing configuration of inport/goto/from block- that will reflect on autosar generated code?
Thanks!

Réponses (1)

Walter Roberson
Walter Roberson le 3 Oct 2023
  1 commentaire
Tejas
Tejas le 4 Oct 2023
Thanks a lot for the inputs!

Connectez-vous pour commenter.

Catégories

En savoir plus sur AUTOSAR Blockset dans Help Center et File Exchange

Tags

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by