MATLAB outputs old data again

15 次查看(过去 30 天)
Hello,
I have an input file with 5 total spreadsheets. I wrote a Run.m self-executable MATLAB script file that reads from the user which sheet they want MATLAB to extract data from, then it manipulates the data, and exports it to an output.xlsx file.
However, the output file sometimes contains manipulated data from another spreadsheet (not the one the user wanted). Any help with this?
I used mcc -e RUN.m to develop the self-executable file.

回答(1 个)

Walter Roberson
Walter Roberson 2018-12-3
Starting from r2018b you can writetable with an option to not use excel.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by