Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
Gonzalo Romero
Gonzalo Romero 2019년 1월 23일
마감: MATLAB Answer Bot 2021년 8월 20일
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!

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by