I have an mtx file of real data, and I'm using Microsoft Visual Studio to read it. MATLAB cannot see the mtx file when I try to import it using import data tab. So, I copy and paste the data into an excel spreadsheet and then import it into MATLAB. Is there a better and more efficient way to do this ?
Thanks!

 채택된 답변

Cris LaPierre
Cris LaPierre 2021년 11월 12일
편집: Cris LaPierre 2021년 11월 13일

1 개 추천

I am not sure I know what a .mtx file is, but if you can copy/paste the data into excel, it must just be a text file with a unique extension. I suspect if you change the file type filter (dropdown menu on the bottom right of the Import Data gui) to 'All Files (*.*)', you will be able to import it using the Import Data tool.

추가 답변 (1개)

Waseem AL Aqqad
Waseem AL Aqqad 2021년 11월 12일

0 개 추천

It works! Thank you so much, Cris!

카테고리

도움말 센터File Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

질문:

2021년 11월 12일

편집:

2021년 11월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by