当前位置:网站首页>Simulink variant model and variant subsystem usage
Simulink variant model and variant subsystem usage
2022-06-13 09:04:00 【mydate()】
List of articles
One 、Variant Model and Subsystem The role of
1、Variant Model and Variant Subsystem It works like a state machine , Different programs or modules will be executed according to different status values ;
Variant Model Used to call different .Slx Module , According to different state values , Execute different modules ;
Variant Subsystem It is to write programs directly in-house , According to different state values , Perform different procedures ;
Two 、Variant Model How to use
1、 stay Simulink Create different interfaces .Slx modular
2、 stay Simulink Interface insertion Variant Model
3、 Configuration correspondence Variant Model Of Slx The module path
1) Double click to enter the following three modules , The configuration needs to be called .Slx The path of the module ;
2) Effect after configuration
4、 Configuration correspondence Variant Model The state of the value
1) Right click Variant Model choice Block Parameters (Subsystem), Add the corresponding status value ;
2) Different configurations Slx Modular Variant control expression, When K The value is 1 when , execute VDM1(Model, You can change the name when you click the module ), Otherwise, execute other modules ;
5、 function Simulink
1)Matlab Yes K Assign a value , to K Different modules will be highlighted when different status values are assigned ;
2) function Simulink
3、 ... and 、Variant Subsystem How to use
1、 stay Simulink Interface insertion Variant Subsystem
2、 Get into Variant Subsystem And edit the program
Subsystem:
Subsystem1:
Subsystem2:
3、 To configure Variant Subsystem
1) Right click Variant Subsystem choice Block Parameters (Subsystem), Add the corresponding status value ;
- Different configurations Subsystem Of Variant control expression, When K The value is 1 when , execute Subsystem, Otherwise, perform other ;**
4、 function Simulink
To sum up, complete Variant Model and Variant Subsystem Introduction to the use of ;
边栏推荐
- Brief description of software testing and software maintenance
- Cesium displays a pop-up box at the specified position and moves with the map
- Pop component submission success failure animation
- Mttr/mttf/mtbf diagram
- JUC 原子累加器 源码之 LongAdder
- Completely uninstall PostgreSQL under Linux
- 20211006 integral, differential and projection belong to linear transformation
- 【网络安全渗透】如果你还不懂CSRF?这一篇让你彻底掌握
- Gbase 8A v95 vs v86 compression strategy analogy
- 【安全】零基礎如何從0到1逆襲成為安全工程師
猜你喜欢
Knowledge points related to system architecture 1
redis 模糊查询 批量删除
QObject::connect: Cannot queue arguments of type ‘QTextCursor‘ (Make sure ‘QTextCursor‘ is registere
Diversified tables through TL table row consolidation
Neo4j - CQL使用
Library management system based on wechat applet Rar (thesis + source code)
redis
Knowledge points related to system architecture 3
JUC 原子累加器 源码之 LongAdder
Mapbox usage, including drawing, loading, modifying, deleting points and faces, displaying pop ups, etc
随机推荐
MySQL 8.0 modifying SQL_ mode=only_ full_ group_ by
【网络安全】SQL注入新思维之webshell提权
14. class initialization, default constructor, =default
Knowledge points related to system architecture 1
MySQL startup error: innodb: operating system error number 13 in a file operation
基于微信小程序的图书馆管理系统.rar(论文+源码)
Some websites of QT (software download, help documents, etc.)
Vscode plug in
JUC 原子累加器 源码之 LongAdder
20211005 Hermite矩阵及几个性质
How many TCP connections can a machine create at most?
Diversified tables through TL table row consolidation
Four kinds of hooks in deep learning
【安全】零基礎如何從0到1逆襲成為安全工程師
20211028 调节和跟踪
Animation through svg
20211018 一些特殊矩阵
Cesium achieves sunny, rainy, foggy, snowy and other effects
20211115 矩阵对角化的充要条件;满秩矩阵不一定有n个线性无关的特征向量;对称矩阵一定可以对角化
[QNX hypervisor 2.2 user manual] 4.5 building a guest