MATLAB: Am I getting a Duplicate directory name from the Applications folder in the MATLAB

MATLABmatlab codermatlab function

How can I solve this error ?
Warning: Duplicate directory name: C:\Program Files\MATLAB\R2016a\toolbox\stateflow\stateflow
> In restoredefaultpath (line 52)

Best Answer

Open pathdef.m and remove the duplicate folder.