MATLAB: Connector error when starting matlab

connectornarginchk

Hi! Does anyone know what this error means?
Error using narginchk (line 10)
too many input arguments
Error in usejava (line 43)
narginchk(1,1);
Error in matlabrc (line 189)
if ~(ismcc || isdeployed || feature('isdmlworker')) && usejava('jvm')
Error using narginchk (line 10)
too many input arguments
Error in usejava (line 43)
narginchk(1,1);
Error in connector.internal.autostart.run

Best Answer

The fieldtrip-lite-20180124 program is interfering with the regular use of MATLAB. You need to go into pathtool and find the C:\Users\jembo00\Documents\MATLAB\fieldtrip-lite-20180124 entries and tell pathtool to "move to bottom", and afterwards save the path.
Doing this might cause fieldtrip-lite-20180124 to have problems. That program might need to be edited to rename its narginchk and change the functions that call upon it.