I want to use variable as an input in a single run.

1 次查看(过去 30 天)
I make variable in workspace by 'To Workspace block' in a circuit.
Simultaneously, I want to use this variable as a input in other blocks.
But during single running, I noticed that the variables were not yet created in the workspace, so I could not use them in other blocks(Reservoir block).

回答(1 个)

J Chen
J Chen 2021-8-3
Try to feed the signal to the 'To Workspace block' directly to other blocks.

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by