What is a wrapper?

조회 수: 37 (최근 30일)
StevieNewRoad
StevieNewRoad 2013년 11월 1일
댓글: StevieNewRoad 2013년 11월 1일
I've constructed a GUI using GUIDE and I am trying to understand the initialisation code.
After doing a bit of delving I think that I have discovered that:
function varargout = mygui(varargin)
is a wrapper, but I am unclear as to what a wrapper is.
It must have something to do with inputs and outputs.
As always, any help will be gratefully received
Steve

답변 (1개)

Doug Hull
Doug Hull 2013년 11월 1일
This is a reasonable definition:
How do you know it is a wrapper if you do not know the definition of a wrapper?
  댓글 수: 1
StevieNewRoad
StevieNewRoad 2013년 11월 1일
I was reading about varargin and varargout and came across this web page:
It was more confusing than helpful, but it did at least lead me to the term 'wrapper'.
I will look at your link now.
Cheers
Steve

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by