nass-simscape/initialize/initializeAxisc.m
2018-06-16 22:57:54 +02:00

18 lines
346 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 = axisc.k.ax/1000;
%% Save if no output argument
if nargout == 0
save('./mat/axisc.mat', 'axisc');
end
end