Hey guys. Could use some help in obtaining output from the cell array.
이전 댓글 표시
CODE for i=1:1:20 sprintf('sometext %s moretext',(output{i})); end
My "output" is a cell array which contains data in the form: 'X123', 'X456', 'X789'. The code below gives me the following output: sometext X123 moretext sometext X456 moretext..
is it possible to get the output in the following way: sometext X123 X456 X789 moretext
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Cell Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!