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