Update data from workspace each time I execute code
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
Hello all, Can someone help me how can I build following code in simulink? I need to get the value of y each time from workspace. Code:
x = 0:20; %only example (can vary )
if y == 0
y = 101.125;
else
y = y;
end
Prozent = (y-(8/9).^-x);
plot(x,Prozent);
y = Prozent(length(x));
Risposte (1)
Maadhav Akula
il 2 Lug 2020
0 voti
Hope this helps!
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!