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

    function setpref(p,pref,data)
%SETPREF Set data in a preference field.
%
%   SETPREF(P,PREF,DATA) sets DATA into the field PREF in the current
%   preference set. If there is no such field as PREF, an error is issued.

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


pr_datastore('setPref',pref,data);