Usage of Exclamation point in MATLAB?

28 visualizaciones (últimos 30 días)
Max
Max el 28 de Feb. de 2015
Comentada: Jan el 26 de Feb. de 2018
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 comentario
per isakson
per isakson el 28 de Feb. de 2015
Editada: per isakson el 28 de Feb. de 2015
"read a bit in forums" &nbsp The Matlab documentation is typically a much better source of information.

Iniciar sesión para comentar.

Respuestas (1)

per isakson
per isakson el 28 de Feb. de 2015
Editada: Jan el 26 de Feb. de 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 !
  2 comentarios
Jan
Jan el 26 de Feb. de 2018
Broken link fixed.

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by