MATLAB: I am getting ” access denied” when installing simscape in MATLAB. Please HELP ASAP!!

MATLABSimscapesimulink

this is the error that shows in the command window of matlab while installing Simscape.
Trial>> install_addon('smlink.r2017b.win64.zip') Installing smlink… Extracting archive smlink.r2017b.win64.zip to C:\Program Files\MATLAB\R2017b… Error using install_addon (line 52) Access is denied.
Can anyone please help? I have MatlabR2017b and I have download the MATLAB file and the Simscape file form Mathworks.com of the same version 2017b

Best Answer

Use Run As Administrator for the MATLAB session where you are installing the add-on.
Related Question