Opening Examples On Simulink

1 view (last 30 days)
Martin Harris
Martin Harris on 13 Dec 2017
Commented: Martin Harris on 18 Dec 2017
Hi,
I am unable to open the following example: sh_water_supply_system.
I am using MATLAB R2017a. When I type in sh_water_supply_system into MATLAB command is states: Undefined function or variable 'toolbox'.
I have tried everything I can think of to try and open this but have been unsuccessful. Any help would be much appreciated.
Kind regards
Martin
  1 Comment
Martin Harris
Martin Harris on 13 Dec 2017
I have noticed that I am unable to open any fluid examples on simulink.
Could this be part of a bug in the software? I found the link below which mentions about a possible bug. I have followed the instructions but still cannot get the examples to work.... I am not sure whether I have correctly downloaded the bug repairs: https://www.mathworks.com/support/bugreports/?product=SH&release=R2017b&release_filter=Fixed+in
Just seems odd that I can open any example apart from the fluid examples.

Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 13 Dec 2017
To open this model in R2017a, you need the following Toolboxes
simhydraulics (or now called Simscape Fluids)
simscape
simulink
Type the following command to see if you have these Toolboxes
ver simulink
ver simscape
ver fluids
  1 Comment
Martin Harris
Martin Harris on 18 Dec 2017
Thank you. I did not have the fluids tool box. Examples are now working. Cheers.

Sign in to comment.

More Answers (0)

Categories

Find more on Simscape Fluids 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!