Masking and base workspace
显示 更早的评论
I have a structure called "uwb" in base workspace. Under uwb structure I have another structure called "channel". Under channel I have got two variables a & b . Now I want to create a subsystem. I want to mask the block. My problem is I have to use the variables a & b for the initialization of the masked subsystem. How can I include a & b in initialization commands of the subsystem while masking.
采纳的回答
更多回答(1 个)
Kaustubha Govind
2012-4-5
Not sure if I understand your question correctly, but try this in your Mask Initialization:
a = uwb.channel.a;
b = uwb.channel.b;
3 个评论
kiran daas
2012-4-6
kiran daas
2012-4-6
Kaustubha Govind
2012-4-6
TAB's answer is the right solution for you.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!