문제

Can I replace ~files(i).isdir for ~isdir('files(i)')?

What does the . do in the code? Is it like an abbreviation of code?

도움이 되었습니까?

해결책

It seems that "files" is an array of structures, and isdir is a variable under the structure (read MATLAB documentation for further informations about structures) at position i, so you can't replace the instruction with the function-like one.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top