Info

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

storing the value in simulink

1 回表示 (過去 30 日間)
PRAVEEN GUPTA
PRAVEEN GUPTA 2020 年 2 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
i am running a simulink model which has function blocks also,
i want to use the the variable w=[1 1 1] in one of the block and in the block the value of w has to get updated in evry cycle but the problem i am facing is,
  1. if i am initiallizing it in the function in every cycle the value of w starts from w=[1 1 1] not fom the previous cycle updated value.
  2. how to transfer the updated value of the w to the workspace.

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by