error using writetable line 124 could not create or initialize worksheet
3 views (last 30 days)
Show older comments
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'.
Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!