Line 1171, U.S. units for mass flow should be "lbm/s" rather than "lb/s". This causes an error when trying to switch to U.S. units for a mass flow plot, because the pm_commensurate command does not recognize 'lb' as being commensurate with 'kg' or any other unit of mass.
Great tool, I use it all the time. This should be a part of the SimScape product!
Asan, this is a unit testing framework to help ensure your MATLAB programs have been written correctly and to prevent changes from introducing bugs. There is now a unit test framework included in MATLAB, and you may be interested in the following blog post describing how someone can use such a framework to ensure the quality of science & engineering:
I tried to understand 'MATLAB xUnit Test Framework' from description but unfortunately the most part I couldn't understand, can tell me is useful for what in more simple way, sorry I'm new user of MATLAB
Steve, I have downloaded and unzipped this model and followed the directions in the readme. However the model is full of "bad link" blocks and fails to run, with the error "failed to load library 'EngineCoolingComponents_lib'".
Am I missing something? I am running 2012b.
In R2013a, a curious glitch has emerged in the behavior of the documentation. When I type 'doc', go to the home page, and click on 'Supplemental Software', I get the documentation for this package (and some others). However, the display flickers. MATLAB Support uncovered the source of the problem: the line
<meta http-equiv="REFRESH" content="0;url=xunit_product_page.html">
in the file index.html.
The fix was to delete index.html and replace it with a copy of xunit_product_page.html, renamed to index.html.
The media data from REFPROP was imported to MATLAB using their provided MATLAB interface. Visit the FAQ section for REFPROP to get the latest files for interfacing MATLAB and REFPROP