File Exchange

image thumbnail

MATLAB File Association Fix

version 1.0.0.0 (3.78 KB) by Patrik Forssén
Fixes trouble with MATLAB file associations in Windows

430 Downloads

Updated 11 Jun 2015

View License

Editor's Note: Popular File 2018

This file was selected as MATLAB Central Pick of the Week

The program writes a Windows registry file that fixes problems with MATLAB file associations in Windows, e.g., that m-files doesn't open up in MATLAB or opens up in a new instance. Can also be used to switch file associations between different installed versions of MATLAB. Detailed help is included in the file.
Have been tested on Windows 7 for MATLAB R2012a and R2015a.

Comments and Ratings (435)

Ying Huang

Many thanks, worked fine on Matlab 2019a on Windows 10.

Bruno

It worked for me. I was having .m files openedd at Notepad and .mat files oppend at Microsoft Access ! Now both format files are being opened at Matlab, in a single instance. I use Matlab 2018a, Windows 10. Thank you for the developer.

Alex Salmon

worked perfectly (Win 10, R2019a), many thanks!

Struggled to set new version of Matlab as default program to open Matlab files and then found this thread. Very useful script!

Rehan Qasim

how to associate .mlx (live editor file)?

fixed problem for my win10 2017b

I love you !!!! It fixed all the hassles of opening multiple instances at every double-clicking of .m files!!!!!

fixed my problem with 2018b

Karen Adler

Penning Yu

it works well for my 2019a.

Adam Danz

Fixed my problem with r2019a. Thanks for making that solution so simple!

Zubair

Works good. Tried on MATLAB 2018a with Windows 10. Solved annoying issue : clicking on .fig or .m or .mat file, a new Matlab instance was opened. After running function, close all Matlab instances, and click on generated Registration entries file, restart Matlab

But it still opens the whole Matlab session, even if I just want to open the Matlab figure file. How to solve that?

fhz

It works like a charm!
Finally I can open files from folders without starting a new session of Matlab.

It worked for 2019a.

Viet Anh

Worked on Matlab 2016a. Thank you very much!

R

Sura Salih

Thanks a lot for your effort , it worked on 2018b version win 7 64 bit

I uninstalled R2018b after installing 2019a on Windows 10, then it always opens up a new MATLAB instance when double-clicking on .m files.
This file fixed the problem perfectly!
Thank you so much!

Read the instructions and it will work perfectly.

Thank you so much! It helped for Windows 10, MATLAB R2019a

It works, thank you very much!

Thank you so much! (Windows 7 2017b)

thank you, it works perfectly!

Sam Deng

thank you very much!! this is very helpful!!

Thank you very much! Great Work!

Worked like a charm!

This code solved the same problem. Thank you for your sharing.

It worked perfect!

Aya Tarek

Works on R2017b Windows 10
Thank you!

My problem is that m.files, .slx files etc. keep on defaulting to Adobe... so, tiles in this download shows as a PDF and does not work.

Mahdi Aziz

Thank you!

Work like magic!

Siyao Hu

Richa Dubey

Dustin Cook

Worked great for me for Matlab 2018b in Windows 10.
Steps:
1) Run the Matlab File to create the registry file
2) Run the created registry file

ding dong

Guodong Cui

TK

Vojtech

Simple, fast and perfect (Windows10, 2018b). Thanks!

It didn't work for me

doenst work

stich abdou

nesta3ref bik

Fixed file association problem with windows 10 and R2018b

BURAK CIHAN

I was facing with defined problems in above. Simple to use and works perfectly!

perfect....

Worked like a charm. For people having errors showing that "Cannot write registry file". Restart MATLAB and run as administrator. Follow the instructions in the file and done!

Works Fine with R2018 Thanks

perfect with R2018b. Spent hours to figure out how to associate, before finding this

Worked perfectly with R2018b on Windows 10 Pro! Thanks!

Thumbs up! Woks perfectly for 2018a.

Works perfect. Do not forget to run your MATLAB as administrator

can someone give me the steps. i use MATLAB 2018b with windows 10

All right! (R2018a)

Maybe you can fix '.mlx' too! :D (file extension of Matlab Live Script)

Worked perfectly with R2018b on Windows 10 Pro!

thanks

sivan levi

worked great windows 10 matlab 2018b

Thank you very much! Works great

tesarj13

Great! (2018a)

James Ratti

Failed to create registry file.

noy guzi

Claire

This worked beautifully for 2018b. Thank you 8D

Worked perfectly for 2018b! Thanks!

Yurii Elkyn

Worked for 2017b. Thanks!!!

Worked for 2018a Win10, many thanks!

It worked very well on MATLAB 2018a win10.

I accidentally associated my .m files to Matlab.exe, which then started opening Matlab every time. This file helped fix that problem by updating the registry directly just by simply running the function and running the .reg file that is created. Thank you Patrik for making this!

saved my life.

work for MATLAB R2015a in Windows 10.

Thank you Mr! Hats off to you!

Worked perfectly on MATLAB R2018a

kayor

Roman Luc

It works for 2018b :) !!

Kian Kalan

doesn't work on 2018b

Jan Palecka

Max Vrany

Fei Jia

One of the best functions that I've used in matlab. Works for 2016a on win10.

Wow. Thank you.
I had updated my Matlab version and the registry would not find 2018a version. This was done on a Windows 7 64bit. As soon as I ran the registryfix file everything worked again.
Again, Thank you

Yu Chou

Working on win 64bit Matlab 2017b. Thanks to you!

Flag Yan

Works on my win10 64bit + Matlab 2018, many thanks!

Avimy

work just fine on windows 10 thank you !

Thank you very much! Works like a charm with Matlab 2018a on Windows 7

Thank you very much! It works for Matlab R2017a on Windows 10.

Peter Latta

Works for Matlab R2015b on Windows 10

Doesn't work for R2017b for Windows 10.

lucas lenne

Works on Windows 10 for MATLAB R2017a

Works for 2018a on windows 7.

Chih-Ta Wu

Working on 2017b

working on windows 10 MATLAB 2016a

Thanks a lot! it works with MATLAb 2016a/win 10-64.

Perfect! Works for Windows 10, Matlab R2018a. Thank you!

Yunhe Yu

Works! Win 7 Matlab2017b.
Thanks a lot!

Working, Windows 10 R2018a Update 2

Alex Salmon

Fauzan Adim

Berat Dogan

Adnan

dasha negri

heng ma

excellent and very convenient!

Ranjan

excellent work by the author - now please add live code MLX File (.mlx) files to your program

Solved my problem! Thank you so much!!

BO FAN

It solves the problem. Thank you very much!

Is there a version for Linux? I have the problem "opens up in a new instance"

Working for R2018a, thank you!

Thank you, worked perfectly on R2018a, Windows 10

Ian McLane

Serge

Why can this not be done through MatLab preferences... shame shame MathWorks.

Thank you!! this works perfectly

MP

Worked perfectly for 2018a

Didn't work for me. 2018a.

Perfect! It works. Matlab R2018a on Windows 7.

Raj N

Ou Weike

It works. Thanks.

Works! Don't forget to run Matlab as administrator, though.

perfect...tnx

aziz.cust

Safdar

Works. Matlab R2018a on 64-bit Windows 10

Worked perfectly on win10 with matlab 2017b

Junze Liu

Works for my R2018a on Windows 10 platform!!! Feel like the messy world has been saved!!! Thank you, MATLABman!

made my day :-)

Works good!

Thank you sooooo much, microsoft is really getting on my nerves with their forced updates that screw up everything. Thanks for the fix

Nice. It worked fine for Matlab 2018a in windows 10

Works on 2018a...But doesn't associate .mlx

Indeed, works for Matlab R2018a ... Brilliant!

Perfectly work also on Matlab R2018a

I can't believe how bad Microsoft has messed up the Windows 10 interface for assigning default programs based on file extension. Utterly pathetic. I couldn't find any way to release .mat files from Access and remap to MATLAB no matter what I did.

Your tool provided the perfect fix. Thank you so much!

Jessica

Do you have a version of this for Mac computers?

It works perfectly with Matlab R2017a!

Nan Luo

Austin Fite

Worked for me, thank you!

Works perfectly on MATLAB R2016a on windows 10, Thank you so much.

DS Chen

Works for 2015b

Daniel John

Amazing!
It worked on Matlab 2017b

Now I can't access any files from my computer in matlab. How do i fix that.

works on Windows 10. Thank you !

Luca Amerio

Had a tricky situation with MATLAB installed on a shared drive for which I didn't have writing rights and each time I double clicked a matlab file it opened in a new instance.

This solved it as a charm! AMAZING!

Alp Sayin

Very nice program! Fixed my problem in 3 minutes :)

Josh

Eric Yuen

Worked perfectly, thank you!

Pavel Benes

AWESOME

Great job

Yingchun Li

worked for 2016b, good

Zhaochen He

wow it worked for 2017a

msn

superb! working perfectly. Thanks a lot

L.A. Bras

Eoin Horgan

flyoverpeak

Thanks very much! It's necessary to run matlab as admin.And remember reboot,then okay!

Ian

Hugo

Thank you very much. It worked for 2016a.

2017b working, thanks
same steps as said before
NOTE: Turn off anti-virus and UAC
1) Run Matlab as admin
2) put associateFiles.m in ....matlab folder ....mcr\toolbox\matlab\winfun\private
3)open and execute associateFiles.m
4) Execute the command (in matlab command window)
associateFiles('add',{'.m', '.mat', '.fig', '.p', '.mexw64', '.mlapp', '.mltbx', '.mldatx', '.req', '.mlappinstall', '.mlpkginstall', '.mdlp', '.slxp', '.mdl', '.slx', '.sltx', '.ssc', '.mn', '.mu', '.muphlp', '.xvc', '.xvz', '.sldd', '.slddc',['.' mexext]});
5) You will get regfile MatlabFileAssocFix.reg, run it

2017b working, thanks
same steps as said before
1) Run Matlab as admin
2) put associateFiles.m in ....matlab folder ....mcr\toolbox\matlab\winfun\private
3)open and execute associateFiles.m
4) Execute the command (in matlab command window)
associateFiles('add',{'.m', '.mat', '.fig', '.p', '.mexw64', '.mlapp', '.mltbx', '.mldatx', '.req', '.mlappinstall', '.mlpkginstall', '.mdlp', '.slxp', '.mdl', '.slx', '.sltx', '.ssc', '.mn', '.mu', '.muphlp', '.xvc', '.xvz', '.sldd', '.slddc',['.' mexext]});
5) You will get regfile MatlabFileAssocFix.reg, run it

This function works , but i would like to know more, in line 100, what does the variable 'fileExtCell' mean,
specially its columns 3-5, in order to add latest extensions. For example, I added one row more
{'mlx', 'MATLAB Live Script', [], [], []},
but files with this extension are not shown with the appropriate icon and can't be opened outside Matlab.

Works perfectly, thanks

This works great. I also added ".sbproj" as an extra argument [ associateFiles('add','.sbproj') ] to allow Windows to automatically open SimBiology projects as well.

Thanks a lot.It works.How do I associate .mlx file? Windows10+R2017b

Awesome.

Sam

2017b working!

David Lopes

Berg Bill

Thanks, this problem has troubled me since the version of 2014a, the registry file worked on 2017b!

THANKS ALL GOOD

Bui Tuan

It used to work until the Fall Creators Update i.e., Windows 10 ver 1709 build 16299.15, comes in and screwed everything up with their UWP default program association.
The current only way to work around this is that you HAVE to START MATLAB by opening a .m file. Only then all subsequent .m files will be opened in the same MATLAB instance.

I really hope that this script gets an update to fix this.

Wu Di Wu

Thanks a lot.It works.How do I associate .mlx file? Windows10+R2017b

Thanks a lot. It works perfectly! Windows 10 and matlab 2017b!!

Xu Shen

THANK YOU THANK YOU! This is a really great tool!!!!!!!! So GRATEFUL! (R2017a) It works well!

I upgraded from 2015b to 2017b today, and after the upgrade I couldn't dobule click open my m.-files. Downloading the script to my desktop and following the instructions of Muhammed Hafish solved the problem. Thanks!

Simone Rupp

Thank you thank you thank you! I tried all the official problem solving ideas provided by "MATLAB answers" but none worked, but this solution did! (Matlab 2017b + Win 7)
You saved my day...

Good job! (Matlab 2017b + Win 8.1)

it works for R2016a, thank you
for those who still struggled with this problem, thanks to Yannis Gr, here what i did
1) Run Matlab as admin
2) Open and execute associateFiles.m
2) Execute the command (in matlab command window)
associateFiles('add',{'.m', '.mat', '.fig', '.p', '.mexw64', '.mlapp', '.mltbx', '.mldatx', '.req', '.mlappinstall', '.mlpkginstall', '.mdlp', '.slxp', '.mdl', '.slx', '.sltx', '.ssc', '.mn', '.mu', '.muphlp', '.xvc', '.xvz', '.sldd', '.slddc',['.' mexext]});
3) You will get regfile MatlabFileAssocFix.reg, run it
4) Restart pc or kill explorer.exe and run it again
5) Finish

It works for 2016a! Thanks

Fritz

It does work for MATLAB R2017b, but Windows 10 1709 RTM 16299.15 (Fall Creators Update) HAS A F***ING BUG (AS ALWAYS) with the File Association and the Settings UWP....

It does Not work for MATLAB R2017b, Windows 10 1709 RTM 16299.15 (Fall Creators Update)

Works on R2017b

Junwoo Park

It works! @ Windows 10/ 2015a
1) Execute the included file(associateFiles.m)
2) New registry file(.reg) is generated, [MatlabFileAssocFix.reg], where the above m file is located.
3) Execute the registry file
4) Restart the PC

Kallol Bera

Thank you very much. It worked. You saved my day. Following these instructions from Yannis Gr:
"A bit more help on how you should do this.
1)Download the file
2)Extract the file @ C:\Program Files\MATLAB\R2016a\mcr\toolbox\matlab\winfun\private . Change the R2016a according your version of course.
3)Navigate inside matlab to the same dir as above. (Run matlab as admin also)
4)Execute the command associateFiles('add',{'.m','.mat','.fig','.p','.mdl',['.' mexext]});
5)Take the .reg file it will create copy paste on desktop and run it.

%% This is the part which works with most of MATLAB File associations

associateFiles('add',{'.m', '.mat', '.fig', '.p', '.mexw64', '.mlapp', '.mltbx', '.mldatx', '.req', '.mlappinstall', '.mlpkginstall', '.mdlp', '.slxp', '.mdl', '.slx', '.sltx', '.ssc', '.mn', '.mu', '.muphlp', '.xvc', '.xvz', '.sldd', '.slddc',['.' mexext]});"

Huayan Wang

Worked on R2017a. Better than any MATLAB Answers. Thumbs up!

JZ85

Worked with R2015a on Windows 10, though you have to confirm .m-files to be open with MATLAB (the typical Windows popup)

Lin Ken

It works! Excellent!

Moses

Thank you!

Steve

Worked on Matlab R2017b. Thank you. Following these instructions from Yannis Gr:
"A bit more help on how you should do this.
1)Download the file
2)Extract the file @ C:\Program Files\MATLAB\R2016a\mcr\toolbox\matlab\winfun\private . Change the R2016a according your version of course.
3)Navigate inside matlab to the same dir as above. (Run matlab as admin also)
4)Execute the command associateFiles('add',{'.m','.mat','.fig','.p','.mdl',['.' mexext]});
5)Take the .reg file it will create copy paste on desktop and run it.

%% This is the part which works with most of MATLAB File associations

associateFiles('add',{'.m', '.mat', '.fig', '.p', '.mexw64', '.mlapp', '.mltbx', '.mldatx', '.req', '.mlappinstall', '.mlpkginstall', '.mdlp', '.slxp', '.mdl', '.slx', '.sltx', '.ssc', '.mn', '.mu', '.muphlp', '.xvc', '.xvz', '.sldd', '.slddc',['.' mexext]});"

Worked on Matlab R2017b. Thank you.

how it works in matlab 2016b on win7?

Chingizbek

Hüseyin

Thank You!!!

Works on R2017a with the caveat that .mlx files (MATLAB Live Scripts) are supported. As stated, was tested on R2012a and R2015a so to be expected.

Excellent on 2016b

Tulike

LING XIAO

Your file solved the problem that bothered me for a long time. Thanks a lot.

Huihua ZHAO

Works like a charm. Thank you so much!

zhenhua Li

Rui Zhang

Thank you so much dude! It works perfect on win 10 x64 R2015b!

GJ! Works on Win 7 x64 R2016b! Thanks!!!

Ahsan Abbas

Zhengyi

Works on 2017a here. Running MATLAB as Admin (win10) does the trick. To get the matlab icons to show up, right-click on one of the newly associated files (.m or whatever) go to Properties. Click "Change" next to Opens With and select the MATLAB 201x* option which be at the top of the list (and have "New" next to it). Do that even if MATLAB 201x* alreadyappears next to Opens With.

*x denotes your version of MATLAB.

Works like a charm!, great work!

Thanks a lot Patrik. You are champ!

Excellent.

Works on r2015a thank you! How can we shows the default icon for the files?

Kevin

Good, it works on r2017a. However, .m files do not shows the default icon of MATLAB.

Le Quan

Efe Ilicak

Worked like a charm! Thank you Patrik!

Rey9

Islam Alam

Worked on MATLAB R2017a
Answer by Yannis Gr. on 16 Jun 2016
Edited by Yannis Gr. on 16 Jun 2016
A bit more help on how you should do this.
1)Download the file
2)Extract the file @ C:\Program Files\MATLAB\R2016a\mcr\toolbox\matlab\winfun\private . Change the R2016a according your version of course.
3)Navigate inside matlab to the same dir as above. (Run matlab as admin also)
4)Execute the command associateFiles('add',{'.m','.mat','.fig','.p','.mdl',['.' mexext]});
5)Take the .reg file it will create copy paste on desktop and run it.

%% This is the part which works with most of MATLAB File associations

associateFiles('add',{'.m', '.mat', '.fig', '.p', '.mexw64', '.mlapp', '.mltbx', '.mldatx', '.req', '.mlappinstall', '.mlpkginstall', '.mdlp', '.slxp', '.mdl', '.slx', '.sltx', '.ssc', '.mn', '.mu', '.muphlp', '.xvc', '.xvz', '.sldd', '.slddc',['.' mexext]});

Worked on Win10 R2016a. Thanks.

Nick Durkee

Didn't work on Matlab R2017a

vthuongt

It works perfectly in Matlab R2015b in Windows Server 2016! Thanks!

Works amazingly well Thank You! r2016a windows 8.1 x64

zhu zheng

good job
works for r2016b windows 7

DrPrado

Works like a charm! r2015a, Windows 10 64 bits.

abraham

Thanks! It works in Matlab R2016a in Windows 10!

AA

Works for R2016b! Thanks a lot !

Mohsen

It works perfectly in Matlab R2016b in Windows 10! Thanks!

Mustafa

Perfect

Great work. Perfect for R2015a.

Gorky Shaw

perfect for R2016b

ann chen

works perfect on MatLab 2016a in Win7!

Km

Perfect! Thanks!

It works on MatLab 2016a. it saved my time. Thank you.

Pedro Busc

Xiangyi Yu

It works, one line sublime fix.

Excellent! It solved my issue!

Qingyu

Super Effective!!!

ahmed ahmed

the File is good. but the method given by karim baa is the best
thank you very much,
i tried it with 2015a

karim baa

Perfect works on 2016b\win10, just follw all the steps : 1)Run "associateFiles.m.", 2) Exit matlab, 3) double click generated "MatlabFileAssocFix.reg", 4) restart pc.

Excellent!! Perfect!!
Thank you very much!!

yang hong

perfect!

wenyu yang

Huy

Thanks a lot. I was about too reinstall Matlab just to fix this stupid file association. But this saves me a lot of time and efforts. I can' thank you enough.

Jianhua LIU

great! works well @ win7 2016a

Yang Yao

Nice job

felix cyc

NICE PLAY

Jie

GOOD

Thanks Patrik
It's nicely work for me

Zhang Liang

Wish that .mlx file would be associated.

Gene. Lin

maybe my matlab was bad T.T , It's not working. still thank you .

Mark

Works!

thank you so much, worked perfectly

Ermin Gong

perfectly figure it out, fatastic!!!thank you so much! matlab2016b,win10

Works perfectly for R2013a on Windows 8.1. Nice job! Thanks.

Bryan Jin

Works for R2016b, windows7.

Hakan Erdol

Solved my problem. Thanks Mathworks

Jonathan

how to associate live scripts "*.mlx" files please?

filipee77

It worked!!

Ashhar

Thank you so much!

DerDruide

Thanks! Helped as accepted 2015a

Fan Hi

Thanks, but it doesn't seem to work on 2016b(Win10 x64 1067)

Bilal Yuruk

Thanks!

thanks.

Laurens

Doesn't seem to work with R2016b on Win10

xuguang

Nice Job. Thanks for making it so easy.

Carlos

Thanks!!!

npn bkck

ahmed

worked for MATLAB 2016a, thanx very much.:)

blue bird

Works perfect with R2016b. If the .reg file won't work, just copy it into another folder and start it.

Baptiste P

Thanks !!

Ali Mahdavi

2016a - Windows 10, Worked. Nice!

This doesn't work for 2016b. Can you help me with this?

Excellent work! Thanks!

Perfect

João Brito

Thank you. It worked on Matlab 2016a on Windows 10 Pro.

Phonon007

Worked!

Jon17

thanks bro!! It worked on Matlab 2015b on windows 7

AleJoCastro

It works very well for me! Thanks a lot!

Excellent! Thanks very much!

Igor J.

Thanks very much!

Serge

Fixed my problem of a new MatLab session being started every time I open a m file. Life Saver!

Youasakura

Worked on Matlab R2016a on Windows 10 64bit

Youasakura

Pi Ting

JerryP

slx files is not associated

Jiangtao Yu

Thanks very much!
It work for Matlab r2016a on Windows 10 (1607).

hergezer

Bo Di

user

works win 7 R2016a

Works perfectly for R2016a. Thank you Patrik Forssén.

mm

Great submission! Still works 2015b (student) Win10x64.

L Amy

Thanks a lot!

Yannis Gr.

works great but it left all my .fig .m icons blank white.

Ken Garrard

Thank you! This is much better than re-installing R2016a. Curiously, it removed R2012b from my open-with menu but R2014a, R2014b, R2015aSP1 and R2015b are still there.

firas firas

It's working for me(R2016a) but you have to run the created 'MatlabFileAssocFix.reg' file outside matlab manually.
Great job thank you

Thanks a lot! A much needed fix!

Guido Marco

Excellent!! it works very well (Matlab 2015b - Windows 10)

winshepherd

Fantastic.It works well on windows 10 for matlab 2016a. Thank you!!

winshepherd

Fantastic.It works well on windows 10 for matlab 2016a. Thank you!!

Bin Du

Amazing! windows10 and Matlab2016a, it works!

Fang He

WOW thanks so much buddy!! Works with R2016a in Windows 10.

Andrew

Thank you!! Worked perfectly!

Ram

Absolutely Brilliant! Solved the problem...

Alex K

Ttzax

JimmyTeng

how can I download it?

keyur patel

Ali Alalfy

Zhiyi TANG

works with MATLAB 2016a, Windows 10 X64

Brendan Hamm

Absolutely brilliant! You may want to consider having this allow multiple versions of MATLAB as you can no longer choose older versions for the Default afterwards without of course deleting the current default. It would be nice to be able to do this in Windows still afterwards.

Zhipeng Cao

Thanks! Problem solved.

man, you are amazing.
It's work with me and it is fantastic.

Brilliant!!!

M S

I can't even count how many hours over the years I've been frustrated by this silly problem, and all the failed suggestions in various forums, including mathworks. Thanks for this submit, A+++

Liam Daly

Biagio Sca

hi, not work on my Matlab version

Lei

Marcus

Tom Mot

Gracias =D !!
Funciona perfectamente
Matlab 2015a | win 10
OJO: Si crees que no funciona, solo hay que leer las instrucciones que están dentro del archivo .m
Saludos

Thales

Thanks!!! Worked perfectly!!!
Matlab 2015a and Windows 10

Muchas Gracias!!! Funciono a la perfección Matlab 2015b

please help, new to matlab , how do i add this file to matlab path so that it correct the file association issue, thanks

Pedro Busc

Unbelievable. Amazing.!!! It works even with 2015b. I screwed up my pc before use this script but it fixed all the bugs. Thanksxx

Josh Parks

thanks man, cakewalk. Can't believe windows doesn't do this automatically, mac has no issues

Faker Black

worked well

Chien-Chun

Allan Fong

wow okay, I commend you for this - most of lifelong problems now solved :D

Yin

Andrea

EkoSusatio

Thank you for the solution. It work very well

alex

I am really disappointed that this didn't work either. I am using R2014b and associated file is still the Starter Application, and clicking the .m file right now only opens a new instance MATLAB, not even a new instance of MATLAB with its editor open with the file. I'd be happy to hear any suggestion anyone gives.

H. Birkan

Tried many things for R2015a and this one worked perfectly, thanks

Worked perfectly. Had tried a lot of different proposed solutions in the past but this is the only one that actually worked (2015a). You saved me a lot of headaches :) Thanks!

J. Domann

worked perfectly

Dev-iL

majnun1337

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux