Opening Examples On Simulink

1 visualizzazione (ultimi 30 giorni)
Martin Harris
Martin Harris il 13 Dic 2017
Commentato: Martin Harris il 18 Dic 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 Commento
Martin Harris
Martin Harris il 13 Dic 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.

Accedi per commentare.

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 13 Dic 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 Commento
Martin Harris
Martin Harris il 18 Dic 2017
Thank you. I did not have the fluids tool box. Examples are now working. Cheers.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simscape Fluids in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by