Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

variables values

variables values


I want to recover the values of x for each time instant (t) in a vector, in the example below.
for example t=0:0.1:5;

can any one help me please?



Code:



model test_ode
Real x;
Real y;
initial equation
x=0;
equation
y=time ;
der(x)=3*exp(-y);

end test_ode;

Edited by: Abderezakabidi - May-03-20 01:02:08
There are 0 guests and 0 other users also viewing this topic