spFRF is designed as a "command-driven" program. That is, almost all of the functionality of the GUI can also be accomplished from the MATLAB Command Window. For example, to set the Blocksize in the Setup module, the user could enter the value 2048 in the edit box, or could issue the following command at the MATLAB prompt
>> spfrf(happ,'setBlocksize',2048)
where happ is the handle to the spFRF application figure, which is the figure number displayed in the upper left corner of the figure title bar. The figure handle is required for almost all commands to specify to which instance of the application the command is directed.
There is extensive command line help which can be accessed by entering
>> spfrf help
in the MATLAB Command Window. In addition, there are a number of query commands for retrieving data and information from spFRF. The spFRF commands can, of course, also be written in an m-file script or function to create macros or User Tools.
Use spfrf(happ,'echo','on') to turn on command syntax echoing. Then the syntax of the spFRF commands corresponding to actions on the GUI (e.g., selecting from a menu, entering into an edit box, or pushing a button on the tool bar) will be displayed to the MATLAB Command Window. This is intended to show the commands for invoking the same action from the GUI. These echoed commands can be reused in the MATLAB Command Window, or copied into an m-file or User Tool function and modified as necessary.