码迷,mamicode.com
首页 > 其他好文 > 详细

Simulink Project - What are Simulink Projects?

时间:2020-07-12 12:18:06      阅读:93      评论:0      收藏:0      [点我收藏+]

标签:nal   def   svn   vol   仿真   func   工程   settings   involve   

我们在使用Matlab进行开发仿真时,一个系统总会有许多个模块。对每个模块的建模可能有多个版本,为了更好的管理每个模块及版本,Matlab提供了Simulink Project这么一个功能。help文档这么描述Simulink Project:

You can use Simulink® Projects to help you organize your work. Find all your required files; manage and share files, settings, and user-defined tasks; and interact with source control.

If your work involves any of the following:

More than one model file
More than one model developer
More than one model version
— then Simulink Projects can help you organize your work. You can manage all the files you need in one place — all MATLAB® and Simulink files, and any other file types you need such as data, requirements, reports, spreadsheets, tests, or generated files.

Projects can promote more efficient team work and individual productivity by helping you:

Find all the files that belong with your project.
Create standard ways to initialize and shut down a project.
Create, store, and easily access common operations.
View and label modified files for peer review workflows.
Share projects using built-in integration with Subversion® (SVN) or Git™, external source control tools.

因此,对系统的仿真,一开始就以工程的形式进行开发,对后续的管理将非常有利。

学习Simulink Projects,从例程开始。

在matlab命令窗口中输入"sldemo_slproject_airframe_svn",matlab自动生成一个例程。从该例程中,理解:

(1)Understand Project Startup and Shutdown Tasks

(2)Create a Startup Shortcut

When you open the project, the project performs the default action for startup shortcut files depending on their type:
Run .m files.
Load .mat files.
Open Simulink models.

(3)Open and Run Frequently Used Files

Regenerate the S-functions 需要安装C/C++编译器,MATLAB Support for MinGW-w64 C/C++ Compiler

 

Simulink Project - What are Simulink Projects?

标签:nal   def   svn   vol   仿真   func   工程   settings   involve   

原文地址:https://www.cnblogs.com/wqq2000happy/p/8594899.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!