Replace Signal in Signal Builder from csv-file
9 次查看(过去 30 天)
显示 更早的评论
How can I replace a csv-file with an other csv-file?
Because every try from me failed and the old imported signals weren't replaced by the new ones.
is there a way to do this or do i have to create a new block every time I want to inset a new csv-file?
thank you for your help
Tobias
采纳的回答
Julia Antoniou
2018-1-25
Hi Tobias,
If your signal builder block contains data from an existing CSV file, you can replace it with data from a new CSV file with these steps:
1) Open the signal builder block and click File > Import from file. Browse to the new CSV you would like to import.
2) In the "Data to Import" window, select all.
3) In the "Placement for Selected Data" menu, choose "Replace existing dataset". Then, click "Confirm Selection". Click "OK".
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/181384/image.png)
4) In the "Import File" window that pops up, select "No, import without saving".
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/181386/image.png)
I am not sure what release you are using, but these steps work for me in the current release, MATLAB R2017b.
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!