Disable MatLab From Running System Commands / Opening External Programs

4 vues (au cours des 30 derniers jours)
nalgene
nalgene le 11 Fév 2019
Commenté : nalgene le 12 Fév 2019
When running an encrypted test code, there is a command that pops up youtube in my google chrome system browser. I understand how they do it, but cannot access the code to stop it.
Is there a way to stop matlab from automatically opening programs?

Réponses (1)

Image Analyst
Image Analyst le 11 Fév 2019
I'd try to redefine the system() and/or run() function with your own dummy program, though that may cause side effects.
  2 commentaires
Walter Roberson
Walter Roberson le 11 Fév 2019
dos() and unix() and system() . But possibly also open() and web()
nalgene
nalgene le 12 Fév 2019
I found they are using the web() function, so I created a new, blank web() function in the same folder. Did the trick.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Create Model Web Views dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by