Home > hfrc > matlab > @HFRC > saveHFRC.m

saveHFRC

PURPOSE ^

SAVEHFRC - saves hfrc objects using a consistent variable name.

SYNOPSIS ^

function [] = saveHFRC( hfrc, matfilename, varargin )

DESCRIPTION ^

 SAVEHFRC - saves hfrc objects using a consistent variable name.

 Usage: saveHFRC( hfrc_obj, matfilename, ... )

 If matfilename is not provided, hfrc_obj.creation_info(1).matfilename will
 be used.  This convenience function saves the effort of having to
 change the variable name of HFRC object before saving them so that the
 mat files are all consistent.  No matter what the given variables
 original name is, it will be saved in the matfile as 'hfrc'.

 ... should be extra variables to be saved with the HFRC object.  NOTE:
 Pass the actual variables, not their names.  Also, make sure that extra
 things being saved are actual variable - ie. 

 saveHFRC( hfrc_obj,'test.mat',a) % OK

 is OK, but

 saveHFRC( hfrc_obj,'test.mat',a(1:10)) % NoNo - piece of a variable.  

 will cause an error.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

     $Id: saveHFRC.m,v 1.5 2003-04-02 00:56:07 dmk Exp $    

 Copyright (C) 2001 David M. Kaplan
 Licence: GPL

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 18-Dec-2006 07:26:46 by m2html © 2003