문자형과 string형
텍스트에 대한 코드 생성
코드 생성 시, 텍스트를 문자형 배열 또는 1×1 string형 배열(string형 스칼라)로 나타냅니다.
클래스
coder.StringType | Represent set of MATLAB strings acceptable for input specification (R2022b 이후) |
도움말 항목
- 코드 생성 시 문자 인코딩
MATLAB®과 코드 생성 간에 문자 인코딩의 차이로 인해 오류가 발생하거나 서로 다른 결과가 나올 수 있습니다.
- string형에 대한 코드 생성
string형에 대한 코드 생성과 관련한 제한 사항을 준수합니다.
- Specify String Scalar Inputs at the Command Line
Specify string scalar inputs at the command line.
- Generate C/C++ Strings from MATLAB Strings and Character Row Vectors
Generate C/C++ strings from null-terminated MATLAB strings and character vectors.