Getplspref

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Purpose

Get overriding options (preferences) for PLS_Toolbox functions.

Synopsis

getplspref(mfile,pref)

Description

Optional inputs are (mfile) the function name for which preferences should be retrieved (If omitted, a structure of all mfile preferences will be returned) and (pref) a specific preference to retrieve (default is all preferences for the given mfile.)

Examples

allprefs = getplspref;
prefs = getplspref('pca');  %get all PCA.m preferences
plotpref = getplspref('pca','plots');  %get "plot" overriding preference for PCA.m

See Also

setplspref