フィルターのクリア

Is it possible to set output width of a C S-function block from parameters?

4 ビュー (過去 30 日間)
Ali Baradaran
Ali Baradaran 2017 年 6 月 28 日
I am implementing a simulink model with which I would like to associate a C file. Therefore, I have added a C S-function to the model. The output width of the block is variable from a simulation to another. However, it remains constant during an instance of a simulation. Now I intend to feed the output width as a parameter to the block. Eventually, a GUI will be provided which modifies the parameter's value. My first question is whether it is possible to set the output width via the block's parameter? If yes, then how? And lastly, is it possible to modify a block's parameter from a GUI?

回答 (0 件)

カテゴリ

Help Center および File ExchangeBlock and Blockset Authoring についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by