MATLAB: Does importing data using the Import Tool, cause MATLAB to hang

freezegreyimport dataimport-toolMATLABmatlab hangs

I recently installed MATLAB R2017b and I am unable to import a csv or any other file using the import tool. The csv file is only 160 kb and the MATLAB import window goes grey.
How do I resolve this issue?

Best Answer

This issue is likely caused due to incompatible third party toolboxes in the MATLAB path.
Save a backup of the pathdef.m file, and execute the following commands. The command 'which -all pathdef.m' can provide you with location of the 'pathdef.m' file.
>> restoredefaultpath;
>> rehash toolboxcache;
If this resolves the issue, execute:
>> savepath;