Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Update data from workspace each time I execute code

1 Ansicht (letzte 30 Tage)
Kinara Patel
Kinara Patel am 19 Mai 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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));

Antworten (1)

Maadhav Akula
Maadhav Akula am 2 Jul. 2020

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by