Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

storing the value in simulink

1 view (last 30 days)
PRAVEEN GUPTA
PRAVEEN GUPTA on 26 Feb 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!