Usage of Exclamation point in MATLAB?

조회 수: 28 (최근 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 !
  댓글 수: 2
Jan
Jan 2018년 2월 26일
Broken link fixed.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by