diff --git a/loadSCase.m b/loadSCase.m new file mode 100644 index 0000000..776f1e5 --- /dev/null +++ b/loadSCase.m @@ -0,0 +1,16 @@ +function output = loadSCase(SCaseID) + % Load a ShoulderCase from the database + % + % Inputs: id char of shoulder case (e.g. 'P315') + % + % Output: Corresponding ShoulderCase object + % + % Example: SCasePlotter = plotSCase('P315'); + % + + addpath(genpath('ShoulderCase')); + + database = ShoulderCaseLoader; + SCase = database.loadCase(SCaseID); + output = SCase; +end \ No newline at end of file