You can also use MATLAB function block and write the code to generate the signals: https://www.mathworks.com/help/simulink/slref/matlabfunction.html. To get information about time inside the function block, use clock https://www.mathworks.com/help/simulink/slref/clock.html.
Simulink change vector data over time
15 次查看(过去 30 天)
显示 更早的评论
I need to give my model a vector data changing over time.
Trying to use signal blocks, they seem to need variables but not vectors.
Is there any way to solve the problem?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!