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