How can I write iterated data from a for-loop into excel file

1 view (last 30 days)
Hi everyone,
On the attached file I am trying to write iterated data into an excel file. The 'witing' works well for the first 7 variable, however when I include other variables, I get an error message:
Not enough input arguments.
Error in SlurryCaseODE45Feb20 (line 206)
Species = [Species; t CSO2_bulkslurry CHSO3 CSO3 CCO2_bulkslurry CHCO3 CCO3];
Please help.
  2 Comments
Geoff Hayes
Geoff Hayes on 14 Feb 2019
Dursman - can you post more of the error message? The error is suggesting that you are trying to call a function with too few inputs but the line of code that you have posted above suggests that you are just trying to concatenate some arrays together. Please clarify.
Dursman Mchabe
Dursman Mchabe on 15 Feb 2019
Thanks for the comment Geoff. The error message I posted is the complete error message. When you run the attached code you will the exact error message.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!