Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Update data from workspace each time I execute code

1 回表示 (過去 30 日間)
Kinara Patel
Kinara Patel 2020 年 5 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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));

回答 (1 件)

Maadhav Akula
Maadhav Akula 2020 年 7 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by