Usage of Exclamation point in MATLAB?

23 次查看(过去 30 天)
Max
Max 2015-2-28
评论: Jan 2018-2-26
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 个评论
per isakson
per isakson 2015-2-28
编辑:per isakson 2015-2-28
"read a bit in forums" &nbsp The Matlab documentation is typically a much better source of information.

请先登录,再进行评论。

回答(1 个)

per isakson
per isakson 2015-2-28
编辑:Jan 2018-2-26
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 !

类别

Help CenterFile Exchange 中查找有关 System Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by