MATLAB: How to protect the files in the MATLAB installation directory from being modified or corrupted

filesMATLABonlyprotectread

I would like all the files in my MATLAB installation directory to be read-only so that they cannot be accidentally modified by a user or corrupted by spyware or other predatory software.

Best Answer

MATLAB has an installation option whereby you can choose to make the entire contents of the MATLAB installation directory read-only. This option is available via the custom installation option only. If you already have MATLAB installed and would like to make the contents read-only, you must do one of the following:
1. Uninstall and re-install MATLAB using the custom installation option.
2. Manually set the permissions of each directory.
This option is effective in protecting users from making undesirable changes to MATLAB files, which may affect the performance of MATLAB.
This option should not be relied upon as a means of preventing predatory software from modifying files. To help protect against viruses and spyware programs, you should employ professional anti-virus and spyware/adware detection software. Contact your system administrator for more information.