Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Code generation with user's function

조회 수: 1 (최근 30일)
Alex
Alex 2014년 2월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a simulink model with a "MATLAB Function" block which calls m-function. If this m-function has one input and one output variables, this model is built to MS Visual Studio solution well. But if this m-function will have arrays in input and output, model building is interrupted with error: "Undefined function or variable 'out'. The first assignment to a local variable determines its class".
Is it possible to create a MSVS solution from a simulink model with user's functions with array argument?

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by