Filter löschen
Filter löschen

Can not coder conversion

1 Ansicht (letzte 30 Tage)
Guillermo Soriano
Guillermo Soriano am 12 Mai 2015
Beantwortet: Arnab De am 14 Mai 2015
Hi. Does anyone can explain me what does it mean and what I must do to correct? My code start like this:
%#codegen
function varargout = Toyalisis(varargin)
%TOYALISIS M-file for Toyalisis.fig
% TOYALISIS, by itself, creates a new TOYALISIS or raises the existing
% singleton*. % % H = TOYALISIS returns the handle to a new TOYALISIS or the handle to % the existing singleton*. % % TOYALISIS('Property','Value',...) creates a new TOYALISIS using the % given property value pairs. Unrecognized properties are passed via % varargin to Toyalisis_OpeningFcn. This calling syntax produces a % warning when there is an existing singleton*.
Then, when I try to use the coder, I received following warning: >> coder -build Toyacoffee.prj ??? Top-level function cannot have varargout.
Error in ==> Toyalisis Line: 2 Column: 23 Code generation failed: Open error report.
I made before some encoding with same statements at the top... from a GUI code... and succesfully. I will appreciate very much for a support Willy

Antworten (1)

Arnab De
Arnab De am 14 Mai 2015

Kategorien

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

Community Treasure Hunt

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

Start Hunting!

Translated by