偶然的机会,在公司中要开始使用MXAM工具,找了很久都没找到对应的资源。所以自己大概总结了一下,MXAM的基本使用方法以及如何和jenkins联动。
MXAM简单介绍:我所了解到的以及我当前所使用的情况来看的话呢,MXAM会调用相应的guideline去运行我事先用MATLAB搭建好的模型,去检查当前模型是否符合guideline。
step 1:首先需要搭建MXAM工程
1.1: Create Project
在目录界面选择“file"->"New"
选择”MXAM Project“
1.2: Directory Selection
可根据需求更改以下设置
1.3: Default View
项目创建完成之后,可点击左下角的”setting“进行设置
1.4: Artifact Configuration
添加MATLAB模型
1.5: File Artifact Selection
1.6: Software Component Selection
1.7: Model Artifact selection
1.8: Guideline Document Selection
1.9: Selecting the guidelines for the project
1.10: Opening the MATLAB from the Adapter option
先进行MATLAB配置,选择“setting"->"Preference"
在”Matlab path“中选择对应的MATLAB的路径
打开MATLAB,并进行保存。