| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimHydraulics |
| Contents | Index |
| Learn more about SimHydraulics |
| On this page… |
|---|
Using the Simulink Library Browser to Access the Block Libraries |
SimHydraulics software uses the Simscape library as its main library. Simscape modeling environment provides the Physical Network approach for modeling and solving systems under design as one-dimensional networks. SimHydraulics software utilizes these basic modeling principles and contains a library of specialized hydraulic blocks that seamlessly interact with basic Simscape blocks. When modeling hydraulic power and control systems, you use the following Simscape libraries:
Foundation library — Contains basic hydraulic, mechanical, and physical signal blocks
SimHydraulics library — Contains advanced hydraulic diagram blocks, such as valves, cylinders, pipelines, pumps, and accumulators
Utilities library — Contains essential environment blocks for creating Physical Networks models
You can combine all these blocks in your SimHydraulics diagrams to model hydraulic systems. You can also use the basic Simulink blocks in your diagrams, such as sources or scopes. See for more information on how to do this.
You can access the blocks through the Simulink Library Browser. To display the Library Browser, click the Library Browser button in the toolbar of the MATLAB desktop or Simulink model window:
![]()
Alternatively, you can type simulink in the MATLAB Command Window. Then expand the Simscape entry in the contents tree.

For more information on using the Library Browser, see Library Browser in the Simulink Graphical User Interface documentation.
Another way to access the block libraries is to open them individually by using the command prompt:
To open just the SimHydraulics library, type sh_lib in the MATLAB Command Window.
To open the Simscape library (to access the utility blocks, as well as hydraulic sources, sensors, and other Foundation library blocks), type simscape in the MATLAB Command Window.
To open the main Simulink library (to access generic Simulink blocks), type simulink in the MATLAB Command Window.
The SimHydraulics library consists of eight top-level libraries, as shown in the following illustration. Some of these libraries contain second-level sublibraries. You can expand each library by double-clicking its icon. For more details on library hierarchy and descriptions of block categories, see Block Reference.

![]() | Modeling Hydraulic Systems | Essential Steps to Building a Hydraulic Model | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |