To allocate character array='2a'
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
AE(32,10)='2a';
This is on error
댓글 수: 2
  Stephen23
      
      
 2021년 7월 7일
				Original question (basically duplicate):
Note to @sadasd asasdas: please do not keep asking the same question. Clarify or ask for more information in your existing question.
답변 (1개)
  James Tursa
      
      
 2021년 7월 7일
        '2a' is a two element character string.  You can't assign two elements to a single element.  I.e., you can't assign a 1x2 vector to a 1x1 element spot.
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


