What is a wrapper?

37 次查看(过去 30 天)
StevieNewRoad
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