MATLAB Answers

Update data from workspace each time I execute code

1 ビュー (過去 30 日間)
Kinara Patel
Kinara Patel 2020 年 5 月 19 日
回答済み: Maadhav Akula 2020 年 7 月 2 日
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;
y = y;
Prozent = (y-(8/9).^-x);
y = Prozent(length(x));

  0 件のコメント


回答 (1 件)


Community Treasure Hunt

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

Start Hunting!

Translated by