I want to use writetable() for an Excel-file in a for-loop. But at the second loop it stops with an error, because the first file is still open and there is no permission. Before I'd open a new folder for the new excel-file, but it doesn't work in this way now, because the file is still open.
MATLAB: How to close Excel-file after writetable()
close excelexcelshutdown excel
Related Question
- If an error appears, how can I send the solution via message box to the user
- How to open an existing Excel file and communicate with it using ActiveX
- How to close an excel file
- Excel files: how to open, edit, and then close file without causing file to become “Read-Only” in MATLAB
- How to close system command prompt opened by MATLAB !command
Best Answer