Using Import GUI for tsv files

11 次查看(过去 30 天)
Russell Cohen
Russell Cohen 2023-5-18
I used to be able to use the Import GUI to automatically import .tsv files -- i found this to be helpful to generate an import function easily. However, recently i found I was unable to, even when I click the options button and select all readable files, i'm unable to select tsv files. What gives?

回答(1 个)

Vinayak
Vinayak 2023-5-22
I am assuming the problem points to .tsv files not being present under the view filter upon selecting the options button.
  1. You could try to modify the filter settings, To do this, click on the "import data" button in the Home tab, and then select the .tsv file from the file browser. In the Import Wizard, click on the "More Options" button, and then select "All Files" in the "Files of Type" field. This will display all files, including .tsv files, in the file browser.
  2. Another potential workaround could be to associate .tsv files with Import Tool: You can associate .tsv files with the Import Tool so that they open automatically when you double-click on them. To do this, right-click on a .tsv file, click "Open With", and then select "Choose another app". In the "How do you want to open this file?" dialog box, select the Import Tool and check the "Always use this app to open .tsv files" box. Click "OK" to save the changes.
  3. You can also convert .tsv files to .csv files using a text editor/spreadhseet and then try importing them.
  1 个评论
Russell Cohen
Russell Cohen 2023-5-26
  1. I tried this and it still shows the tsv grayed out -- this didn't used to happen with the same version of matlab but now it does.
  2. I don't see the Import Tool as a stand aloneapplicaiton -- where would I find this?
  3. This works with some finagaling with delimeters, but doesn't answer my question about tsv files not being able to be importated any more even when "all files" option in the import data button is selected.

请先登录,再进行评论。

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by