nass-simscape/initialize/initializeAxisc.m
2018-06-21 11:42:46 +02:00

18 lines
361 B
Matlab

function [axisc] = initializeAxisc()
%%
load('./mat/smiData.mat', 'smiData');
%%
axisc = struct();
axisc.m = smiData.Solid(30).mass;
axisc.k.ax = 1; % TODO [N*m/deg)]
axisc.c.ax = (1/1)*sqrt(axisc.k.ax/axisc.m);
%% Save if no output argument
if nargout == 0
save('./mat/axisc.mat', 'axisc');
end
end