error using writetable line 124 could not create or initialize worksheet
3 次查看(过去 30 天)
显示 更早的评论
a=rand(1,2) b=rand(1,1) c='a' T=table(a,b,c) EN='Data.xlsx' writetable(T,EN)
After all files are removed from workspace and Task manager. The other form of this error appears. Unable to write to '' sheetin file 'Data.xlsx'. Disable sheet protection, disable workbook's Mark as Final Option, and ensure input does not exceed cell capacity.
Third form this error at same line of code is: The range must be character vector of the form 'A1:B2' or 'A1'.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!