custom number of the inputs 4 C sfunction

1 vue (au cours des 30 derniers jours)
grapevine
grapevine le 23 Avr 2012
Hello everyone,
I need to write a sfunction in C with a custom number of the inputs, I found a way to do it with an m-file using this instructions
lengthInp=block.DialogPrm(1).Data;
y= block.InputPort(1).Data;
But I need to write a sfunction in C. Does anyone know to what these instruction correspond in C?
  1 commentaire
grapevine
grapevine le 24 Avr 2012
I maybe found something
ssGetSFcnParam
http://www.mathworks.nl/help/toolbox/simulink/sfg/ssgetnumsfcnparams.html
http://www.mathworks.nl/matlabcentral/answers/30629-pass-a-parameter-to-a-sfunction-written-in

Connectez-vous pour commenter.

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 25 Avr 2012
This my reply to your comment here not help?

Plus de réponses (0)

Catégories

En savoir plus sur Block and Blockset Authoring dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by