Error using GUIDE app designer for solving and plotting ordinary differential equations. Error gives invalid expression.
Afficher commentaires plus anciens
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 commentaire
prabhat kumar sharma
le 26 Sep 2023
Is it possible to share the complete code file to understand the flow of the code.
Réponses (0)
Catégories
En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!