유용한 명령어

  • ; 출력값 표시 차단, 입력시 화면에 출력 없이 실행
  • 긴 명령문 입력 마침표 3개 ''' vs. python \

프로그래밍과 스크립트

  • 생성 : edit {파일명} edit mysphere
  • 주석 : $
  • 실행 : 파일명

작업 공간 변수

  • cmd 명령어 : 보기 whos / 삭제 clear
  • 저장 : save myfile.mat
  • 불러오기 : load myfile.mat

string형 배열의 텍스트

t = "Hello, world";

텍스트에 큰따옴표가 포함되어 있는 경우에는 정의할 때 두 개의 큰따옴표를 사용하십시오. q = "Something ""quoted"" and something else."

results matching ""

    No results matching ""