Info

此问题已关闭。 请重新打开它进行编辑或回答。

S function code writing

1 次查看(过去 30 天)
Ameer Janabi
Ameer Janabi 2017-7-16
关闭: Walter Roberson 2017-7-16
Hello, I am using Matlab S function builder in the Simulink. can anyone tell me how can I define internally computed parameters or states? for example: suppose a block has two parameters, the volume, and density of some object, and the output of the block is a function of the input signal and the weight of the object. In this case, the weight can be viewed as a third internal parameter computed from the two external parameters, volume, and density.
How can I define the internally computed parameter?
Regards, Ameer
  1 个评论
Walter Roberson
Walter Roberson 2017-7-16
Duplicates https://www.mathworks.com/matlabcentral/answers/348652-s-function-builder-internal-computed-parameters

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by