Info

此问题已关闭。 请重新打开它进行编辑或回答。

Update data from workspace each time I execute code

1 次查看(过去 30 天)
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