Can not coder conversion
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!