Replace Signal in Signal Builder from csv-file

조회 수: 6 (최근 30일)
Tobias Wzl
Tobias Wzl 2018년 1월 23일
댓글: Sankarshan Durgaprasad 2022년 11월 21일
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
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".
4) In the "Import File" window that pops up, select "No, import without saving".
I am not sure what release you are using, but these steps work for me in the current release, MATLAB R2017b.
  댓글 수: 2
Tobias Wzl
Tobias Wzl 2018년 1월 29일
It works !!!
Thank you!!!
Hriday Ranjan
Hriday Ranjan 2019년 11월 4일
I am trying to achive this using matlab script. could you help me.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile 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!

Translated by