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

조회 수: 1 (최근 30일)
Dursman Mchabe
Dursman Mchabe 2019년 2월 14일
댓글: Dursman Mchabe 2019년 2월 15일
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
Geoff Hayes
Geoff Hayes 2019년 2월 14일
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 2019년 2월 15일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by