Error using GUIDE app designer for solving and plotting ordinary differential equations. Error gives invalid expression.
古いコメントを表示
Full error: "Error using ReactorApp
Error: File: ReactorApp.mlapp Line: 158 Column: 21
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters."
I have looked into the parentheses (swapped them out and ran it again) but to no avail. Could really use some help figuring it out.
Here is the relevant code. Error is on the cinit line.
%compute concentration and temperature profiles CSTR (stored in A)
cinit = [app.C_w_init app.C_aah_init app.C_acid_init app.T0];
tspan = 0:t_end;
[t,A] = ode45(@(t,A) ode_CSTR(t,A,app), tspan, cinit);
1 件のコメント
prabhat kumar sharma
2023 年 9 月 26 日
Is it possible to share the complete code file to understand the flow of the code.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!