Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Windows 7 file Explorer crashing on encountering Matlab .mat files

Subject: Windows 7 file Explorer crashing on encountering Matlab .mat files

From: george

Date: 30 Dec, 2009 17:28:04

Message: 1 of 6

I started encountering what appears to be an unusual problem:

Windows 7 file Explorer started crashing and automatically restarting consistently on opening or browsing any directory containing Matlab .mat files!

Just for example, renamimg a .mat file extension to .matmat helps explorer to browse directory and renaming it back to .mat immediatelly crashes the explorer.

 I looked int blogs and it appear to be happening to others but mainly with media (e.g. mpeg) files. On my machine, .mat is associated to Matlab via the registry but I can not even run file to program association utility as it uses explorer to search for all file extension on the machine so it crashes too. I did not have much luck with the blogs so I wandered if anyone of you has a suggestion how to solve this issue.

Subject: Windows 7 file Explorer crashing on encountering Matlab .mat files

From: nanren888

Date: 30 Dec, 2009 20:29:19

Message: 2 of 6

"george " <artilogica@btconnect.com> wrote in message <hhg2j4$dq7$1@fred.mathworks.com>...
> I started encountering what appears to be an unusual problem:
>
> Windows 7 file Explorer started crashing and automatically restarting consistently on opening or browsing any directory containing Matlab .mat files!
>
> Just for example, renamimg a .mat file extension to .matmat helps explorer to browse directory and renaming it back to .mat immediatelly crashes the explorer.
>
> I looked int blogs and it appear to be happening to others but mainly with media (e.g. mpeg) files. On my machine, .mat is associated to Matlab via the registry but I can not even run file to program association utility as it uses explorer to search for all file extension on the machine so it crashes too. I did not have much luck with the blogs so I wandered if anyone of you has a suggestion how to solve this issue.

george,
Not help, but maybe info.
I have pretty plain Win7, x64, with office products loaded.
No such issues.
When new, it had .mat associated with office something.
All .mat files showed as shortcuts & would not show extensions, regardless of settings for show extensions & hide nothing.
Folder options, or equivalent, (non-registry editing) switched it to Matlab & have noticed no ill-effects.
Anyway, I guess that means that you are looking for something different: something in your setup.

Subject: Windows 7 file Explorer crashing on encountering Matlab .mat files

From: george

Date: 11 Feb, 2010 15:48:04

Message: 3 of 6

"nanren888 " <nanren888.remove.this@hotmail.com> wrote in message <hhgd6v$m7q$1@fred.mathworks.com>...
> "george " <artilogica@btconnect.com> wrote in message <hhg2j4$dq7$1@fred.mathworks.com>...

>
> george,
> Not help, but maybe info.
> I have pretty plain Win7, x64, with office products loaded.
> No such issues.
> When new, it had .mat associated with office something.
> All .mat files showed as shortcuts & would not show extensions, regardless of settings for show extensions & hide nothing.
> Folder options, or equivalent, (non-registry editing) switched it to Matlab & have noticed no ill-effects.
> Anyway, I guess that means that you are looking for something different: something in your setup.

Thanks

I stil have not resolved this problem and it is becoming a real nusiance

Subject: Windows 7 file Explorer crashing on encountering Matlab .mat files

From: george

Date: 12 Feb, 2010 17:58:02

Message: 4 of 6

Thanks nanren888 , you points were right :
> "When new, it had .mat associated with office something.
> All .mat files showed as shortcuts & would not show extensions...."

I.e. .mat was associated to MS Access which installled a dll extension for Windows Explorer that was handling .mat as MS Access data table link file in conflict with Matlab

Using MS support forum site:
http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/b5464736-19aa-43b9-bbff-15431c2602c2/
and their guidelines for use of ShellExView I located and disabled .mat file extension dll handler for MS Access and that solved the issue of Windows Explorer crashing on .mat files. I later re-associated the .mat with Matlab (which was not possible before as the Windows file extensino-program association utility was crashing too).

Subject: Windows 7 file Explorer crashing on encountering Matlab .mat files

From: Mark Shore

Date: 18 Aug, 2010 13:45:26

Message: 5 of 6

"george " <artilogica@btconnect.com> wrote in message <hl44ra$478$1@fred.mathworks.com>...
> Thanks nanren888 , you points were right :
> > "When new, it had .mat associated with office something.
> > All .mat files showed as shortcuts & would not show extensions...."
>
> I.e. .mat was associated to MS Access which installled a dll extension for Windows Explorer that was handling .mat as MS Access data table link file in conflict with Matlab
>
> Using MS support forum site:
> http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/b5464736-19aa-43b9-bbff-15431c2602c2/
> and their guidelines for use of ShellExView I located and disabled .mat file extension dll handler for MS Access and that solved the issue of Windows Explorer crashing on .mat files. I later re-associated the .mat with Matlab (which was not possible before as the Windows file extensino-program association utility was crashing too).

This comes up periodically after applying patches and updates to my computer with MS Office. Microsoft insists on hijacking the .mat file extension for an Access table shortcut and also hides the extension in Windows Explorer. Deleting the appropriate NeverShowExt key in the registry seems to work: http://forums.techguy.org/tech-tips-tricks/384336-show-super-hidden-file-extensions.html

Subject: Windows 7 file Explorer crashing on encountering Matlab .mat files

From: Pablo Sobron

Date: 3 Feb, 2011 01:12:03

Message: 6 of 6

"Mark Shore" wrote in message <i4go5m$bl6$1@fred.mathworks.com>...
> "george " <artilogica@btconnect.com> wrote in message <hl44ra$478$1@fred.mathworks.com>...
> > Thanks nanren888 , you points were right :
> > > "When new, it had .mat associated with office something.
> > > All .mat files showed as shortcuts & would not show extensions...."
> >
> > I.e. .mat was associated to MS Access which installled a dll extension for Windows Explorer that was handling .mat as MS Access data table link file in conflict with Matlab
> >
> > Using MS support forum site:
> > http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/b5464736-19aa-43b9-bbff-15431c2602c2/
> > and their guidelines for use of ShellExView I located and disabled .mat file extension dll handler for MS Access and that solved the issue of Windows Explorer crashing on .mat files. I later re-associated the .mat with Matlab (which was not possible before as the Windows file extensino-program association utility was crashing too).
>
> This comes up periodically after applying patches and updates to my computer with MS Office. Microsoft insists on hijacking the .mat file extension for an Access table shortcut and also hides the extension in Windows Explorer. Deleting the appropriate NeverShowExt key in the registry seems to work: http://forums.techguy.org/tech-tips-tricks/384336-show-super-hidden-file-extensions.html

I had exactly the same problem. The ShellExViews trick solved it. Thanks.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us