Usage of Exclamation point in MATLAB?
24 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hey all,
I just wondered about the application of "exclamation point" (!) in MATLAB. I have read a bit in forums and it is mostly said that " It indicates that the rest of the input line is issued as a command to the operating system.". Does anybody know what is the real-life application (by an example please)? Thanks a lot.
1 commentaire
per isakson
le 28 Fév 2015
Modifié(e) : per isakson
le 28 Fév 2015
"read a bit in forums"   The Matlab documentation is typically a much better source of information.
Réponses (1)
per isakson
le 28 Fév 2015
Modifié(e) : Jan
le 26 Fév 2018
See the documentation Run External Commands, Scripts, and Programs. It includes description and examples. And I include a function, which I use to check whether files are locked by other programs. It uses system, which I prefer to !
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps 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!