Simulink Function and Referenced Models

版本 1.0.0 (44.8 KB) 作者: Muthukumar Ganesan
Calling Simulink function across the referenced models
7.0 次下载
更新时间 2022/8/12

查看许可证

Problem Statement:
Call a simulink function across all the referenced models
Solution:
Define a simulink function at the top level of all referenced models
  1. In referenced models, simulink function is called through function callers, then configure the simulink function visibility to "Global" and directly this function can be accessed in all the referenced models
  2. In referenced models, simulink function is called in state machine, then configure the simulink function visibility to "Scoped" and this function can be accessed by using <TopModelName>.<FunctionName> in all the referenced models

引用格式

Muthukumar Ganesan (2024). Simulink Function and Referenced Models (https://www.mathworks.com/matlabcentral/fileexchange/116245-simulink-function-and-referenced-models), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

SimulinkFunc_RefModels

版本 已发布 发行说明
1.0.0