mat2pars_init
writes a pars_init file from a .mat file
Contents
Syntax
mat2pars_init (my_pet, varargin)
Description
Writes a pars_init_my_pet.m file from a results_my_pet.mat file; Two types of use: (1) AmP, (2) non-AmP if model = 'nat'. In the latter case the numerical parameter values are replaced only.
Input:
- my_pet: optional string with the species name (default pets{1} for single species or group for multiple species)
- varargin: optional 1 to fix all parameters, empty or otherwise to use free/fix information from .mat file
Remarks
Keep in mind that the files will be saved in your local directory; use the cd command BEFORE running this function to save files in the desired place.
Example of use
mat2pars_init