excel file automatically saved in text file form but still has .xlsx file type
5 views (last 30 days)
Show older comments
developing gui where user can create excel file to write analyzed data to. When created the excel file is saved in the notepad as a .xlsx file type. When you open it has a lots of gibberish. When you right click and select open with, and select excel, it opens the file in excel and the data is there and formated corrrectly. What changes do i make on either matlab or even possibly on my computer so that the excel file is created in excel not in notepad?
3 Comments
Stephen23
on 2 Aug 2023
"When created the excel file is saved in the notepad as a .xlsx file type"
Files are not saved "in the notepad", files are saved to the the storage device/s of your computer.
"When you open it has a lots of gibberish."
This is expected if you open any random binary file in notepad.
"When you right click and select open with, and select excel, it opens the file in excel and the data is there and formated corrrectly. What changes do i make on either matlab or even possibly on my computer so that the excel file is created in excel not in notepad?"
It sounds like you have changed the file associations of your OS so that .XLSX opens with notepad: possibly after clicking "always open with this application" or something similar. In that case, you need to fix the file associations of your OS. This has nothing to do with MATLAB.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!