A MATLAB user at Manchester recently sent me some code and data as part of a Condor support request but Outlook helpfully blocked access to his .mat files deeming them potentially unsafe! It seems that Microsoft Outlook is afraid of matrices.
I guess that the easiest way to proceed would be to ask him to resend his stuff as a .zip file but that would slow down the support query. I just wanted to stop Outlook being quite so paranoid and let me have access to those scary matrices.
The fix is a registry edit (very user-friendly of Microsoft right?) so please don’t proceed if you are not comfortable editing the registry. The registry controls numerous aspects of the Windows operating system along with many of the applications you have installed. If it had a map then there would be huge areas labelled ‘Here be Dragons.’ Corrupting the registry could lead to an unusable operating system. So, the following is offered without warranty on a ‘it works for me’ basis.
Open up regedit and navigate to the following (I’m using Windows 7 and Outlook 2007, location and procedure may be different for different environments).
Once you have the above highlighted, move your mouse to the right hand pane of regedit, and right click to get a context menu. Click on New->Key and create a key-value pair with
- Name Level1Remove
- Value Data .mat
If you want to unblock more than just .mat then you can separate them with semicolons so .mat;.exe for example. When you’ve finished, this part of the registry should look like the screenshot below