Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Code generation with user's function

1 visualizzazione (ultimi 30 giorni)
Alex
Alex il 26 Feb 2014
Chiuso: MATLAB Answer Bot il 20 Ago 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?

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by