Simscape interface with Simulink
Mostrar comentarios más antiguos
I am trying to use a Simscape spring between the R port of a hydraulic cylinder (representing ins movement of the rod) and a movable Simulink frame, whose position is in inches, with a force sensor to measure the spring force, with refernce to the bottom end of the spring, top end connected to the cylindeer rod. See attached slx file .
The top sketch shows the spring bottom reference to Simscape mechanical ground or zero position. Works fine.
When I try to connect the C port of the force sensor block to some representation of the frame position in Simulink, I am lost.
Can you help me connect the Simulink frame position as a reference to the force sensor port C?
Thank you.
Don Brohaugh
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Foundation and Custom Domains en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!