Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Code generation with user's function

1 Ansicht (letzte 30 Tage)
Alex
Alex am 26 Feb. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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?

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by