Skip to content

Commit

Permalink
Initial commit R2019a.
Browse files Browse the repository at this point in the history
  • Loading branch information
smiller01985 committed Oct 19, 2019
1 parent 5fe0fe4 commit fcb4c5a
Show file tree
Hide file tree
Showing 96 changed files with 82 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
% finite element data with 3 interface frames with that has 5 interface
% frames.
%
% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

%% Generate results: FEI beam, 3 Frames
open_system('sm_flex_fe_import_beam');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
% modes on the simulation results for the flexible beam modeled using
% finite element data with three interface frames.
%
% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

%% Generate results: FEI beam, 3 Frames
open_system('sm_flex_fe_import_beam');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
% modes on the simulation results for the flexible beam modeled using
% finite element data with five interface frames.
%
% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

%% Generate results: FEI beam, 3 Frames
open_system('sm_flex_fe_import_beam');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function sm_flex_fe_import_beam_configure_load(modelname,loadtype)
% This function configures the loading conditions for the cantilever beam
% in model sm_flex_fe_import_beam.slx

% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

if(strcmpi(loadtype,'Tip Load'))
% Enable tip load force and disable gravity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%
% The plot below shows the vertical deflection of the tip of the beam.
%
% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

% Generate simulation results if they don't exist
if ~exist('simlog_sm_flex_fe_import_beam', 'var')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function sm_flex_fe_import_beam_select_massdistr(modelname,massdistr)
% This function configures the mass distribution for the cantilever beam
% in model sm_flex_fe_import_beam.slx.

% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

% Source library for flexible beam element
library_name = 'sm_flex_body_lib';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function sm_flex_fe_import_beam_select_model(modelname,modeltype)
% Function replace_block() is used instead of variant subsystems so that
% the mask and block annotations are visible at the top level of the model.

% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

% Source library for flexible beam element
library_name = 'sm_flex_body_lib';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function sm_flex_fe_import_beam_select_numdynmodes(modelname,numdynmodes)
% FE software with the desired number of dynamic modes for currently
% configured number of interface frames.

% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

% Source library for flexible beam element
library_name = 'sm_flex_body_lib';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function sm_flex_fe_import_beam_select_rigid_frame(modelname,rigidframe)
% This function configures the degrees of freedom at each interface frame.
% There is only one rigid connection, the rest have 6 degrees of freedom.

% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

% Source library for flexible beam element
library_name = 'sm_flex_body_lib';
Expand Down
2 changes: 1 addition & 1 deletion Examples/Simple/Scripts_Data/sm_flex_fe_import_params.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% Parameters for beam used in sm_flex_fe_import_beam.slx
% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

load beamFEData

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% Calculate natural frequencies and mode shapes for flexible beam
% with one fixed end and one free end

% Copyright 2014-2018 The MathWorks, Inc.
% Copyright 2014-2019 The MathWorks, Inc.

mdl = 'sm_flex_lumped_param_beam';
flexbeam_h = [mdl '/Flexible Beam'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
% the simulation results for a flexible beam modeled using the lumped
% parameter method.
%
% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

%% Generate Results: Lumped Parameter Beam, Vary Number of Elements

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function sm_flex_lumped_param_beam_configure_load(modelname,loadtype)
% This function configures the loading conditions for the cantilever beam
% in model sm_flex_lumped_param_beam.slx

% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.
if(strcmpi(loadtype,'Tip Load'))
% Enable tip load force and disable gravity
set_param([modelname '/Mechanism Configuration'],'UniformGravity','None');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
% The plot below shows the comparison between the tip deflection of a beam
% modeled using lumped parameter as the number of elements is varied.
%
% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

mdl = bdroot;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%
% The plot below shows the vertical deflection of the tip of the beam.
%
% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

% Generate simulation results if they don't exist
if ~exist('simlog_sm_flex_lumped_param_beam', 'var')
Expand Down
6 changes: 3 additions & 3 deletions Examples/Simple/html/html/sm_flex_fe_import_beam.html

Large diffs are not rendered by default.

Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_01.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_02.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_03.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_04.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_05.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_06.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_07.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_08.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_09.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_10.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_fe_import_beam_11.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions Examples/Simple/html/html/sm_flex_lumped_param_beam.html

Large diffs are not rendered by default.

Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_01.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_02.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_03.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_04.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_05.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_06.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_07.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_08.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_09.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_10.png
Binary file modified Examples/Simple/html/html/sm_flex_lumped_param_beam_11.png
2 changes: 1 addition & 1 deletion Examples/Simple/html/sm_flex_fe_import_beam.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
% the tip of the beam. Hyperlinks in the model let you adjust the loading
% method and other settings of the flexible beam element.
%
% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.


%% Model
Expand Down
2 changes: 1 addition & 1 deletion Examples/Simple/html/sm_flex_lumped_param_beam.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
% The model is configured so that linearization techniques can be used to
% identify the natural frequencies of the beams at various modes.
%
% Copyright 2014-2018 The MathWorks, Inc.
% Copyright 2014-2019 The MathWorks, Inc.


%% Model
Expand Down
Binary file modified Examples/Simple/sm_flex_fe_import_beam.slx
Binary file not shown.
Binary file modified Examples/Simple/sm_flex_lumped_param_beam.slx
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
% sm_flex_slider_crank_configure_hardstop Enable/Disable hardstop in
% model sm_flex_slider_crank

% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

switch lower(enable)
case 'on'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
% The plot below shows the deflection of the connecting rod midpoint
% relative to the ends.
%
% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

% Generate simulation results if they don't exist
if ~exist('simlog_sm_flex_slider_crank', 'var')
Expand Down
6 changes: 3 additions & 3 deletions Examples/Slider_Crank/html/html/sm_flex_slider_crank.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!--
This HTML was auto-generated from MATLAB code.
To make changes, update the MATLAB code and republish this document.
--><title>Flexible Body Slider Crank</title><meta name="generator" content="MATLAB 9.5"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2018-09-12"><meta name="DC.source" content="sm_flex_slider_crank.m"><style type="text/css">
--><title>Flexible Body Slider Crank</title><meta name="generator" content="MATLAB 9.6"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2019-03-19"><meta name="DC.source" content="sm_flex_slider_crank.m"><style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}

html { min-height:100%; margin-bottom:1px; }
Expand Down Expand Up @@ -66,7 +66,7 @@



</style></head><body><div class="content"><h1>Flexible Body Slider Crank</h1><!--introduction--><p>This example shows a slider crank modeled using flexible bodies. The crankshaft and the connecting rod can each be configured to use a lumped parameter flexible beam model or to model flexibility using data imported from finite element software</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Model</a></li><li><a href="#2">Results from Simscape Logging: Comparison with Literature</a></li><li><a href="#5">Results from Simscape Logging: Slider Strikes Hard Stop</a></li></ul></div><h2 id="1">Model</h2><img vspace="5" hspace="5" src="sm_flex_slider_crank_01.png" alt=""> <h2 id="2">Results from Simscape Logging: Comparison with Literature</h2><p>The plot below shows the deflection of the connecting rod midpoint relative to an imaginary line connecting the endpoints of the rod. The conditions for the simulation match a documented case that used another widely used approach for flexible multibody simulation [1]. The results match quite closely.</p><p><b>Test using beam modeled with data exported from finite element software</b></p><img vspace="5" hspace="5" src="sm_flex_slider_crank_02.png" alt=""> <p><b>Test using beam modeled using lumped parameter method</b></p><img vspace="5" hspace="5" src="sm_flex_slider_crank_03.png" alt=""> <p><i>[1] Escalona, J.L., H.A. Hussien, and A.A. Shabana. "APPLICATION OF THE ABSOLUTE NODAL CO-ORDINATE FORMULATION TO MULTIBODY SYSTEM DYNAMICS". Journal of Sound and Vibration 214.5 (1998): 833-851. Web. 26 May 2017.</i> https://doi.org/10.1006/jsvi.1998.1563</p><h2 id="5">Results from Simscape Logging: Slider Strikes Hard Stop</h2><p>The plot below shows the deflection of the connecting rod midpoint relative to the ends when the slider encounters a hard stop. This test was performed with the finite import method model with 5 interface frames.</p><img vspace="5" hspace="5" src="sm_flex_slider_crank_04.png" alt=""> <p class="footer">Copyright 2016-2018 The MathWorks, Inc.<br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2018b</a><br></p></div><!--
</style></head><body><div class="content"><h1>Flexible Body Slider Crank</h1><!--introduction--><p>This example shows a slider crank modeled using flexible bodies. The crankshaft and the connecting rod can each be configured to use a lumped parameter flexible beam model or to model flexibility using data imported from finite element software</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Model</a></li><li><a href="#2">Results from Simscape Logging: Comparison with Literature</a></li><li><a href="#5">Results from Simscape Logging: Slider Strikes Hard Stop</a></li></ul></div><h2 id="1">Model</h2><img vspace="5" hspace="5" src="sm_flex_slider_crank_01.png" alt=""> <h2 id="2">Results from Simscape Logging: Comparison with Literature</h2><p>The plot below shows the deflection of the connecting rod midpoint relative to an imaginary line connecting the endpoints of the rod. The conditions for the simulation match a documented case that used another widely used approach for flexible multibody simulation [1]. The results match quite closely.</p><p><b>Test using beam modeled with data exported from finite element software</b></p><img vspace="5" hspace="5" src="sm_flex_slider_crank_02.png" alt=""> <p><b>Test using beam modeled using lumped parameter method</b></p><img vspace="5" hspace="5" src="sm_flex_slider_crank_03.png" alt=""> <p><i>[1] Escalona, J.L., H.A. Hussien, and A.A. Shabana. "APPLICATION OF THE ABSOLUTE NODAL CO-ORDINATE FORMULATION TO MULTIBODY SYSTEM DYNAMICS". Journal of Sound and Vibration 214.5 (1998): 833-851. Web. 26 May 2017.</i> https://doi.org/10.1006/jsvi.1998.1563</p><h2 id="5">Results from Simscape Logging: Slider Strikes Hard Stop</h2><p>The plot below shows the deflection of the connecting rod midpoint relative to the ends when the slider encounters a hard stop. This test was performed with the finite import method model with 5 interface frames.</p><img vspace="5" hspace="5" src="sm_flex_slider_crank_04.png" alt=""> <p class="footer">Copyright 2016-2019 The MathWorks, Inc.<br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2019a</a><br></p></div><!--
##### SOURCE BEGIN #####
%% Flexible Body Slider Crank
%
Expand All @@ -75,7 +75,7 @@
% lumped parameter flexible beam model or to model flexibility using data
% imported from finite element software
%
% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.
%% Model
Expand Down
Binary file modified Examples/Slider_Crank/html/html/sm_flex_slider_crank.png
Binary file modified Examples/Slider_Crank/html/html/sm_flex_slider_crank_01.png
Binary file modified Examples/Slider_Crank/html/html/sm_flex_slider_crank_02.png
Binary file modified Examples/Slider_Crank/html/html/sm_flex_slider_crank_03.png
Binary file modified Examples/Slider_Crank/html/html/sm_flex_slider_crank_04.png
2 changes: 1 addition & 1 deletion Examples/Slider_Crank/html/sm_flex_slider_crank.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
% lumped parameter flexible beam model or to model flexibility using data
% imported from finite element software
%
% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.


%% Model
Expand Down
Binary file modified Examples/Slider_Crank/sm_flex_slider_crank.slx
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ component PS_force_hydraulic_chamber_trans_comp
% of the output member. Output port f is the force acting on the output
% member.

% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.

nodes
A = foundation.hydraulic.hydraulic; % A:right
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ component PS_force_hydraulic_chamber_trans_incomp
% energy into mechanical energy in the form of translational motion of the
% converter output member.

% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.

nodes
A = foundation.hydraulic.hydraulic; % A:right
Expand Down
2 changes: 1 addition & 1 deletion Libraries/+forcesPS/+hydraulic/lib.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function lib( libInfo )
% Customize library
% Copyright 2005-2018 The MathWorks, Inc
% Copyright 2005-2019 The MathWorks, Inc

libInfo.Name = 'Hydraulic';
end
2 changes: 1 addition & 1 deletion Libraries/+forcesPS/+math/PS_q_axs_to_qz.ssc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ component PS_q_axs_to_qz
% This block calculates the rotational angle about the z axis using Angle
% and Axis outputs of the Transform Sensor block

% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.

inputs
q = {0, 'rad'}; % q:left
Expand Down
2 changes: 1 addition & 1 deletion Libraries/+forcesPS/+math/lib.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function lib( libInfo )
% Customize library
% Copyright 2005-2018 The MathWorks, Inc
% Copyright 2005-2019 The MathWorks, Inc

libInfo.Name = 'Math';
end
2 changes: 1 addition & 1 deletion Libraries/+forcesPS/+mechanical/PS_force_friction_rot.ssc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ component PS_force_friction_rot
% sum of the Coulomb and Stribeck frictions at zero velocity is often
% referred to as the breakaway friction.

% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.

inputs
w = {0, 'rad/s'}; % w:left
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ component PS_force_friction_trans
% sum of the Coulomb and Stribeck frictions at zero velocity is often
% referred to as the breakaway friction.

% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.

inputs
v = {0, 'm/s'}; % v:left
Expand Down
2 changes: 1 addition & 1 deletion Libraries/+forcesPS/+mechanical/PS_force_hardstop_rot.ssc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ component PS_force_hardstop_rot
% is implemented as a spring and damper that comes into contact with the
% slider as the gap closes.

% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.

inputs
w = {0, 'rad/s' }; % w:left
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ component PS_force_hardstop_trans
% is implemented as a spring and damper that comes into contact with the
% slider as the gap closes.

% Copyright 2016-2018 The MathWorks, Inc.
% Copyright 2016-2019 The MathWorks, Inc.

parameters
upper_bnd = {0.1 , 'm' }; % Upper bound
Expand Down
2 changes: 1 addition & 1 deletion Libraries/+forcesPS/+mechanical/lib.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function lib( libInfo )
% Customize library
% Copyright 2005-2018 The MathWorks, Inc
% Copyright 2005-2019 The MathWorks, Inc

libInfo.Name = 'Mechanical';
end
2 changes: 1 addition & 1 deletion Libraries/+forcesPS/lib.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function lib( libInfo )
% Customize library
% Copyright 2005-2018 The MathWorks, Inc
% Copyright 2005-2019 The MathWorks, Inc

libInfo.Name = 'Simscape Forces Library';
CurrentDate = date;
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Extrusions/Extr_Data_Box.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% add 'plot' as the final argument
% >> Extr_Data_Box(10,5,'plot')

% Copyright 2013-2018 The MathWorks, Inc.
% Copyright 2013-2019 The MathWorks, Inc.

% Default data to show diagram
if (nargin == 0)
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Extrusions/Extr_Data_Calc_Area.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%
% as i ranges over [1, N] and i+1 is computed in modular fashion.

% Copyright 2017-2018 The MathWorks, Inc.
% Copyright 2017-2019 The MathWorks, Inc.

area = sum(sum(xy_poly .* ([1 -1] .* circshift(xy_poly, [-1 1])))) / 2;

2 changes: 1 addition & 1 deletion Libraries/Extrusions/Extr_Data_Ring.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% add 'plot' as the final argument
% >> Extr_Data_Ring(10,5,45,315,'plot')

% Copyright 2012-2018 The MathWorks, Inc.
% Copyright 2012-2019 The MathWorks, Inc.

% Default data to show diagram
if (nargin == 0)
Expand Down
Binary file added Libraries/forcesPS_lib.slx
Binary file not shown.

0 comments on commit fcb4c5a

Please sign in to comment.