File.mat Changed to Microsoft Access Table

39 ビュー (過去 30 日間)
Omar
Omar 2018 年 5 月 23 日
回答済み: neurosock hardcore BCIs 2021 年 5 月 20 日
Hi Everyone, I have something weird happened to my output data files. These files used to be in .mat format, but all the sudden these files changed to Microsoft Access Table. However, when I run these files in Matlab, they do run. Is there any idea what the reason behind that happening?
Best,
  4 件のコメント
Rik
Rik 2018 年 5 月 23 日
It is still a .mat file. You can set the preferred program to open a file type in the Windows settings, or you can right-click a .mat file, open the 'open with' dropout, and select the 'open with other app/program' item. There you can select Matlab and make sure you have the 'always use this program' checkbox checked.
Omar
Omar 2018 年 5 月 23 日
Thanks Rik again. The problem has been solved.

サインインしてコメントする。

採用された回答

Rishabh Ramesh Rathore
Rishabh Ramesh Rathore 2018 年 5 月 23 日
Its just Windows misinterpreting the extensions. You should stil be able to excess those files from Matlab prompt.
You can even try the following:
  1. Right-click the file
  2. select 'open with'
  3. browse to matlab and check 'the always use this app to open .mat files'
  4. click ok
  1 件のコメント
Image Analyst
Image Analyst 2019 年 8 月 1 日
Note: there is no "Open with" when right clicking the file in Windows 10 File Explorer.

サインインしてコメントする。

その他の回答 (1 件)

neurosock hardcore BCIs
neurosock hardcore BCIs 2021 年 5 月 20 日
In more detail:
  1. Go to Control Panel.
  2. Click on Programs.
  3. Click on Default Programs.
  4. Click on Set your default programs.
  5. At the botom click Choose default apps by file type
  6. Search .mat in the long list
  7. Change the association from Access to MATLAB by clicking on the icon to the right
Cheers!

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by