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

1 visualizzazione (ultimi 30 giorni)
민훈 김
민훈 김 il 28 Lug 2021
Risposto: J Chen il 3 Ago 2021
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).

Risposte (1)

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

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by