![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1732358/image.png)
- Add PS-simulink converter right before the mux and simulink-PS converter after the variable selector (as I did in the figure above).
- Replace your PS sources with simulink sources and only use a simulink-PS converter after the variable selector.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!