How to declare local functions in an embedded matlab function block.

2 Ansichten (letzte 30 Tage)
Abdenour Bedjbedj
Abdenour Bedjbedj am 4 Jul. 2013
I declared local functions in an embedded Matlab function block and I want to know if I have well coded it. The problem is that, my local functions uses some of the inputs of the main function. I would like to know how can we call local functions that uses the inputs of the main embedded matlab function block.
Thanks
  2 Kommentare
Abdenour Bedjbedj
Abdenour Bedjbedj am 4 Jul. 2013
If someone needs the simulink model of it, I can email it.
Kaustubha Govind
Kaustubha Govind am 8 Jul. 2013
Please also paste sample code to make the question clearer. In general, you would simply have to pass in the data as input arguments to the local function.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by