- In the MATLAB command prompt run your script and then open Simulink.
- Create a blank model and add a Signal Builder block.
- Double click the Signal Builder block.
- Select Signal > New > Custom.
- In the Custom Waveform window, enter t in the Time values field and y in the Y values field and then click OK.
Use point data to plot a signal to use in Simulink
2 次查看(过去 30 天)
显示 更早的评论
Hi,
The attached file is a plotting of earthquake wave drawn with many points. Is there a way that I change this into a signal (like sine wave/signal generator) to be used in Simulink?
Thanks for help in advance.
Sam
0 个评论
回答(1 个)
Ayush Gupta
2020-6-3
The following procedure might help you:
The Signal Builder block window displays the new signal as Signal 2.
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!