BusSelector can't display the InputSignals
4 次查看(过去 30 天)
显示 更早的评论
Hi support:
I defined a struct type in c - mex level2 s-function, and set input port and output port as the struct ,and the block wire with bus selector ,but bus selector's parameter dialog is empty, and then I press get(gcbh) in commandline , the 'InputSignals' is not empty,and I used the script wirte element "var1"in bus selector's Selected elements diaglog ,
the model can be simulated .
so do you have any methods let bus selector full with bus elements in the parameters diaglog.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1441878/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1441883/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1441888/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1441893/image.png)
1 个评论
Debadipto
2023-8-1
Hi Xuejie, please share the Simulink model file for the ease of reproduction and debugging of the issue.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!