how to save string values in matfile
조회 수: 1 (최근 30일)
이전 댓글 표시
how to save string values in matfile
Instead of these integer values,
label(1,1:44) = 0;
label(1,45:316) = 1;
label(1,317:362) = 0;
label(1,363:555) = 1;
label(1,556:588) = 0;
label(1,589:834) = 1;
i want to store as '0' instead of 0 and '1' instead of 1.
When i did as label(1,1:44) = {'0'};
i got error
??? The following error occurred converting from cell to double: Error using ==> double Conversion to double from cell is not possible.
How to do it. Please do reply
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!