Usage of Exclamation point in MATLAB?
28 次查看(过去 30 天)
显示 更早的评论
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
2015-2-28
编辑:per isakson
2015-2-28
"read a bit in forums"   The Matlab documentation is typically a much better source of information.
回答(1 个)
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 Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!