I want to use variable as an input in a single run.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/696944/image.png)
0 comentarios
Respuestas (1)
J Chen
el 3 de Ag. de 2021
Try to feed the signal to the 'To Workspace block' directly to other blocks.
0 comentarios
Ver también
Categorías
Más información sobre Programmatic Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!