- Go into the MATLAB installation directory (ex: C:\Program Files\MATLAB\R2017b\bin\win64)
- Launch the MATLAB.exe in this directory as an administrator. Make sure you're launching it from \win64 and not \bin.
- You can create a shortcut to this executable if you don't want to continue launching it from the win64 directory.
- Run Command Prompt, PowerShell, File Explorer, or another program as an Administrator and then open the MATLAB executable from inside that program.
- Create and run a batch script that runs MATLAB as an administrator.
Why am I receiving the message "This app has been blocked for your protection." when running MATLAB as an Administrator?
10 views (last 30 days)
Show older comments
MathWorks Support Team
on 23 Aug 2023
Answered: MathWorks Support Team
on 23 Aug 2023
Why am I receiving the User Account Control message "This app has been blocked for your protection." when running MATLAB as an Administrator on Windows?

Accepted Answer
MathWorks Support Team
on 23 Aug 2023
Some older releases of MATLAB on Windows, including R2014b through R2017b, will display this error when right-clicking and selecting "Run as Administrator" due to changes in Windows security since their release. There are a few possible workarounds for this:
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!