Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Save an updating output

2 Ansichten (letzte 30 Tage)
Mohammad Hedar
Mohammad Hedar am 30 Mär. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello guys, I have an updating output or signal, and I want to save this signal in some block or constant so I can use it somewhere else in the simulink, for example, the signal value now is 100, I want to put this value in B, and then use B other where in my simulink, and when the signal value changes from 100 to 200 for example, B also will change. Is this possible?

Antworten (1)

Divya Yerraguntla
Divya Yerraguntla am 3 Apr. 2020
Hi Mohammad,
You could achieve this functionality by using GoTo Block and From Block in Simulink. Have a look at the example : https://in.mathworks.com/help/simulink/slref/signal-routing-with-from-goto-and-gototag-visibility-blocks.html
The Goto block passes the input signal connected to it to the corresponding From blocks without actually connecting them.
Note: Make sure to set the right Tag Visibility parameter in GoTo block which determines signal accessibility to the From block.
Hope it helps!

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by