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!