フィルターのクリア

S-Funtion for add Model Expolorer parameters

6 ビュー (過去 30 日間)
Mehmet Ali
Mehmet Ali 2024 年 6 月 14 日
回答済み: Shreshth 2024 年 7 月 3 日 5:46
Hello,
I am trying add Simulink Parameter with simulink block. For this I want to use s-function and take this s-function in the simulink block.This block will be include paramter name , parameter data type , initial value and all time it will be Exported To Global.
Can you help me with this? If you have another solution please share with me thank you.

回答 (1 件)

Shreshth
Shreshth 2024 年 7 月 3 日 5:46
Hello Mehmet,
One way of acheiving your task is by creating a custom S function.You will have to create the S function using S-function Builder, define the desired parameters and then do the export to global to connect it to your Simulink model.
Here is a documentation by MathWorks that will help you to understand the process of defining the custom S Function.
Hope it helps.

カテゴリ

Help Center および File ExchangeModel, Block, and Port Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by