16 lines
278 B
Matlab
16 lines
278 B
Matlab
function [] = initializeSimscapeConfiguration(args)
|
|
|
|
arguments
|
|
args.gravity logical {mustBeNumericOrLogical} = true
|
|
end
|
|
|
|
conf_simscape = struct();
|
|
|
|
if args.gravity
|
|
conf_simscape.type = 1;
|
|
else
|
|
conf_simscape.type = 2;
|
|
end
|
|
|
|
save('./mat/conf_simscape.mat', 'conf_simscape');
|