도움말 센터도움말 센터
공백으로 구성된 문자형 배열
R2021b 이후
blanks(n)
예제
blanks(n)은 공백 문자로 구성된 1×n 배열을 만듭니다. 반환 값을 string 연산자와 함께 사용하면 n개의 공백으로 구성된 string형이 생성됩니다.
n
1
string
참고
연산자 blanks는 C를 동작 언어로 사용하는 Stateflow® 차트에서는 지원되지 않습니다.
blanks
모두 확장
공백 5개가 포함된 string형을 만듭니다.
str = string(blanks(5));
R2021b에 개발됨
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office