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