writecell() error with 'AutoFitWidth' option
18 views (last 30 days)
If i put the following single line in MATLAB_R2021b, I have an error massage that 'AutoFitWidth' is not valid parameter name.
Other options are working well, but only 'AutoFitWidth' does not work.
The exact error massage is the following (Its in Korean)
다음 사용 중 오류가 발생함: writecell (195번 라인)
유효하지 않은 파라미터 이름임: AutoFitWidth.
Gargi Patil on 21 Dec 2021
The property AutoFitWidth is used to adjust column width automatically. Thus, it can only be used when writing to spreadsheet file formats of the type .xls, .xlsx etc. and not while writing to text files.
The following code snippet can be used instead: