Info

This question is closed. Reopen it to edit or answer.

S function code writing

1 view (last 30 days)
Ameer Janabi
Ameer Janabi on 16 Jul 2017
Closed: Walter Roberson on 16 Jul 2017
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 Comment
Walter Roberson
Walter Roberson on 16 Jul 2017
Duplicates https://www.mathworks.com/matlabcentral/answers/348652-s-function-builder-internal-computed-parameters

Answers (0)

Community Treasure Hunt

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

Start Hunting!