主要内容

金宝app仿真软件的功能s

Create functions accessible in Simulink models

A Simulink®function is a computational unit that calculates a set of outputs when provided with a set of inputs. Since a Simulink function provides a common text interface to its function definition and a function caller, how you define the function is your choice. Possible function definitions include using:

  • Simulink blocks in a Simulink Function block

  • Stateflow®state transitions in an exported Stateflow graphical function

  • MATLAB®code statements in an exported Stateflow MATLAB function

After you define a function, you can call it using a功能呼叫者块,aMATLAB Functionblock, or a Stateflow chart.

Blocks

expand all

金宝app仿真软件的功能 图形地定义了使用simulink块的函数金宝app
Chart Implement control logic with finite state machine
功能呼叫者 调用sim金宝appulink或导出状态流函数
MATLAB Function IncludeMATLABcode in models that generate embeddable C code
Chart Implement control logic with finite state machine
企业 Create input port for subsystem or external input
外港 Create output port for subsystem or external output
Function Element 指定函数通过导出功能端口调用
Function Element Call Specify function call to be issued via invoking function port

Topics