Use Matlab MCR without installing it (due to IT restrictions)
8 views (last 30 days)
Show older comments
Hi,
I want to distribute an executable built using Matlab compiler to users in my organization which do not have Matlab installed in their computers.
The caveat is, due to IT restrictions in our organization, we can share executables but we cannot run installers like the MCR installer. Since they cannot install MCR, they cannot run the executable either.
Is there a solution for this problem?
I am working with Matlab 2017b and the executable is written with app designer.
Thanks, José
0 Comments
Accepted Answer
OCDER
on 28 Jun 2018
Edited: OCDER
on 28 Jun 2018
NEW POTENTIAL ANSWER
Take a look here, section " Install the MATLAB Runtime without Administrator Rights " https://www.mathworks.com/help/compiler/install-the-matlab-runtime.html
OLD ANSWER
It's odd you can run .exe but not install mcr, as .exe was one of the main way to spread malicious code... https://fileinfo.com/help/dangerous_windows_file_types
The other alterinative is to use network drives and have the MCR installed there. Read this Q&A: https://www.mathworks.com/matlabcentral/answers/93054-how-do-i-deploy-my-compiled-stand-alone-application-on-a-network-drive-so-that-it-can-be-accessed-by
2 Comments
Rik
on 28 Jun 2018
Some organisations take the sandbox approach to security: just wipe every change the user made to system when they log off. That way you can run any exe you like, but you won't be able to do much. Some schools do this. You get access to a network drive, but only some whitelisted filetypes can be saved. The only option for students is to rename the extension ;)
OCDER
on 28 Jun 2018
Ah, extension renaming - that's how I used to send .exe file (my own safe one of course!) through email attachment filters ;)
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!