-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcmc.m
39 lines (30 loc) · 1.36 KB
/
cmc.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
classdef cmc < OpenSim.rraSuper
% CMC - A class to store Computed Muscle Control results from OpenSim.
%
%
% Created by Megan Schroeder
% Last Modified 2014-03-27
%% Properties
% Properties for the cmc class
properties (SetAccess = public)
NormKinematics % Kinematics, normalized to % of cycle (added in 'simulation' class)
NormReserves % Reserve actators, normalized to % of cycle (added in 'simulation' class)
NormResiduals % Residual actuators, normalized to % of cycle (added in 'simulation' class)
NormActivations % CMC muscle activations, normalized to % of cycle (added in 'simulation' class)
end
%% Methods
% Methods for the cmc class
methods
% *****************************************************************
% Constructor Method
% *****************************************************************
function obj = cmc(subID,simName,readCMCstate)
% CMC - Construct instance of class
%
% CMC path
cmcPath = [OpenSim.getSubjectDir(subID),subID,'_',simName,'_CMC'];
% Create instance of class from superclass
obj = obj@OpenSim.rraSuper(cmcPath,readCMCstate);
end
end
end