NATIONAL INSTITUTES OF HEALTH  
MatOFF LOGO NIMH BANNER PHOTO 4MatOFF BANNER PHOTO 2MatOFF BANNER PHOTO 1
 Link to MatOFF Home Link to MatOFF Download Page Link to MatOFF Commands Link to MatOFF Support
Link to FAQs
Link to Getting Started
Link to Importing Data
Link to MakDAT for Cortex
Link to Creating Plots
Link to Graphical Layouts
Link to Exporting Results
Link to Global Settings
Link to Scripting Language
Link to History Scripts
Link to Revision History
Link to History of MatOFF





  Programmer Notes for MatOFF


Adding new layout items to menus

When adding a new layout items to the GUI, a number of changes must be made for these items to be stored and recalled by the Layout command. 

In layout_handles.m
   Create a handle for the new items

In set_layout
   Add lines to store layout items

In get_layout
   Add lines to recall the items

In parse_command
  Add protocol commands to control the items

In save_file
  Update the "layout" section to generate proper protocol commands



Delete all existing copies of koflay.dat and koflay_default.dat



Adding new environmental variables

In matoff.m
   Add new variable name and default value as environment.<variable name>.
   Add a new    set(findobj('tag',....  line to initialize the environment menu

In setenv.m
   Add entry for new variable.  Use all caps in the findstr() commands. 
   Add new variable to environment_menu.m

Documentation
  Update help_request.m
  Update environmental_variables.html
  Update command_reference.html#Setenv
 



Copyright 2000-2006, NIMH Laboratory of Systems Neuroscience

This page was last updated December 5, 2008
webmaster



 The Division of Intramural Research Programs is within the National Institute of Mental Health (NIMH) is a part the National Institutes of Health (NIH), is a component of the U.S. Department of Health and Human Services.
  NIMH LOGO NIH LOGO DHHS LOGO USA GOV LOGO