How to connect PS Product
조회 수: 8 (최근 30일)
이전 댓글 표시
i would like to multiple 2 signals, but i went to do some research, the only block to do it is (PS Product) http://www.mathworks.com/help/physmod/simscape/ref/psproduct.html
please help
댓글 수: 0
답변 (2개)
Sebastian Castro
2015년 3월 6일
Hi Billy,
The PS Product block is only for physical signals that come out of Simscape sensor blocks. What you have coming out of the "From" block is a Simulink signal.
You should therefore be fine with a regular Product block from "Simulink -> Math Operations" library to connect all that together.
- Sebastian
댓글 수: 0
billy
2015년 3월 6일
댓글 수: 1
Sebastian Castro
2015년 3월 6일
Yes -- the PS Product block works on physical signals, which are used for input/output to Simscape blocks. You can tell the difference because physical signal ports are white triangles and Simulink signal ports are black arrowheads.
You cannot directly connect physical and Simulink signals unless you use converter blocks (PS-Simulink or Simulink-PS Converter).
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!