Level-2 Matlab S-Function Example

Example of a Mass Spring Damper System by means of a level-2 Matlab S-Function in order to use functions such as loading an *.xml file.
ダウンロード: 367
更新 2018/11/21

ライセンスの表示

Example of a Mass Spring Damper System by means of a level-2 Matlab S-Function in order to use functions such as
1) loading an *.xml file to obtain the system parameters and
2) the usage of Matlab structures

The program loads the system parameters by using the MassSpringDamper.xml file and stores the parameters inside a Matlab structure by using the Xml2Struct.m file.

Reference of the Xml2Struct.m file: https://nl.mathworks.com/matlabcentral/fileexchange/28518-xml2struct

The Mass Spring Damper System is solved by using a state-space approach as described in:

Heylen, W., S. Lammens, and P. Sas. Modal Analysis Theory and Testing, (Katholieke Universiteit Leuven, Departement Werktuigkunde). ISBN 90-73802-61-X, 1997, Pages A.1.12 and A.1.13

IMPORTANT NOTES:
----------------

1) In order to make the model work, be sure your Matlab path is correctly set (pointing to the donwloaded folder).
2) You can also use absolute path/file names instead of the relative one in the constant block.

引用

Laurent Keersmaekers (2026). Level-2 Matlab S-Function Example (https://jp.mathworks.com/matlabcentral/fileexchange/69485-level-2-matlab-s-function-example), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2018b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersAssembly についてさらに検索

Level 2 SFunction Example

Level 2 SFunction Example

バージョン 公開済み リリース ノート
1.0.1

Updated tags

1.0.0