Invalid text charcter .Check for unsupported symbol, invisible charcter ,or pasting of non-ASCII chatcters
조회 수: 3 (최근 30일)
이전 댓글 표시
function output_value = load_database();
persistent loaded; persistent numeric_Image;
if(isempty(loaded)) all_Images = zeros(10304,40);
- if true
- % code
- end for i=1:40 cd(strcat('s',num2str(i))); for j=1:10 image_Container = imread(strcat(num2str(j),'.pgm')); all_Images(:,(i-1)*10+j)=reshape(image_Container,size(image_Container,1)*size(image_Container,2),1); end display('Doading Database'); cd .. end numeric_Image = uint8(all_Images);endloaded = 1;output_value = numeric_Image;
댓글 수: 0
답변 (2개)
Alan Moses
2020년 10월 28일
Please refer this link for answers to a similar question. If the error persists, share your code for better resolution of the issue.
댓글 수: 0
Walter Roberson
2020년 10월 28일
Your line 7 starts with 11 occurances of char(160), which is unicode U+A0 http://www.fileformat.info/info/unicode/char/a0/index.htm "No-Break Space".
The line after that has 7 of the same character before the "end"
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!