www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcprefs/getpref.m

    function data=getpref(p,pref)
%GETPREF Get the data from preference field.
%
%   DATA=GETPREF(P,PREF) gets the data from the entry PREF in the current
%   preference set. If there is no such preference, an error is issued.

%  Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc.


data = pr_datastore('getPref',pref);