Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
To Workspace doesn't accept "a.b" ?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello guys,
"To Workspace" doesn't accept structure e.g. "a.b" within its "Variable Name" field.
Is there a way around this?
My aim is to have a subsystem with a Masked Parameter "Name" = main_name
and within the subsystem is a "To Workspace" block with its "Variable Name" field = main_name.something
How can I make this happen?
Thank you.
I am using R2009b.
0 Commenti
Risposte (1)
Yu Jiang
il 22 Ago 2014
Hi Zaki
You may want to consider using a bus to generate a structure and pass that to a variable in To Workspace.
For more information regarding bus, see http://www.mathworks.com/help/simulink/slref/buscreator.html
I have also attached a simple example, you may want to take a look. Hope it helps!
- Yu Jiang
1 Commento
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!