I can not run a deployed application because the antivirus blocks it.
The application works fine in MATLAB and it succesfully compiles, but when I try to execute (I try 'for_testing' and 'for_redistribution') the antivirus 'OfficeScan' treats it as a malware.
Microsoft Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1)
Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode
How can I fix this?
In order to fix this issue, consult with "OfficeScan" team to help allowing standalone application.
The following articles on their website that will also be helpful-
Another possible workaround would be to compile the program without embedding the CTF archive into binaries-
>> mcc -C -m options mfilename
Another possible cause for the antivirus block is the XML manifest file which is included in the deployed executable.
Additional details: https://undocumentedmatlab.com/blog/matlab-compilation-quirks-take-2#antivirus