Error using GUIDE app designer for solving and plotting ordinary differential equations. Error gives invalid expression.
Show older comments
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 Comment
prabhat kumar sharma
on 26 Sep 2023
Is it possible to share the complete code file to understand the flow of the code.
Answers (0)
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!