Info

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

How to create one signal given a time and a value vector in Simulink?

1 Ansicht (letzte 30 Tage)
Gonzalo Romero
Gonzalo Romero am 23 Jan. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello,
I would like to generate a signal given a value and a time vector as inputs in Simulink. I want to change that vector during the simulation so I can´t use the Repeating Sequence Interpolated block. Given as inputs
time = [0, 1, 2, 3];
values = [2, 3, 5, 6];
I want to get a signal as output and i want to modify it during runtime.
I could save the variables in the workspace and then import them using the From Workspace block but I want to know if there is an easier and better solution to my problem
Thanks!

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by