How to connect PS Product
6 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Sebastian Castro
on 6 Mar 2015
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 Comments
billy
on 6 Mar 2015
1 Comment
Sebastian Castro
on 6 Mar 2015
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).
See Also
Categories
Find more on Nonlinear Operators in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!