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

조회 수: 2 (최근 30일)
Abdenour Bedjbedj
Abdenour Bedjbedj 2013년 7월 4일
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
Abdenour Bedjbedj
Abdenour Bedjbedj 2013년 7월 4일
If someone needs the simulink model of it, I can email it.
Kaustubha Govind
Kaustubha Govind 2013년 7월 8일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by