필터 지우기
필터 지우기

Can not coder conversion

조회 수: 1 (최근 30일)
Guillermo Soriano
Guillermo Soriano 2015년 5월 12일
답변: Arnab De 2015년 5월 14일
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

답변 (1개)

Arnab De
Arnab De 2015년 5월 14일

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by