Octave 4.02 fid=fopen('cruise_params.cfg.tmp','r'); cruiseVars=textscan(fid,'%s%s','Delimiter','=','CommentStyle','#'); cruiseVars cruiseVars = { [1,1] = { [1,1] = working_directory [2,1] = cruise_id [3,1] = cruise_id_prefix [4,1] = cruise_id_suffix [5,1] = correct_year [6,1] = use_mat_for_nav [7,1] = make_nav [8,1] = use_sadcp [9,1] = print_formats [10,1] = remove_zctd_downcast [11,1] = use_master_only [12,1] = down_up [13,1] = enable_nav [14,1] = enable_ctdprof [15,1] = enable_ctdtime [16,1] = override_sn [17,1] = down_sn [18,1] = up_sn [19,1] = dz [20,1] = pose [21,1] = poss [22,1] = position_fixed [23,1] = lat_for_calc [24,1] = lon_for_calc [25,1] = time_start [26,1] = time_end [27,1] = cut [28,1] = nav_error [29,1] = avdz [30,1] = avens [31,1] = btrk_mode [32,1] = btrk_used [33,1] = btrk_ts [34,1] = btrk_below [35,1] = btrk_wlim [36,1] = bottomdist [37,1] = surfdist [38,1] = magdev [39,1] = fix_compass [40,1] = up2down [41,1] = rotup2down [42,1] = offsetup2down [43,1] = zpar [44,1] = maxbinrange [45,1] = ctdmaxlag [46,1] = ctdmaxlagnp [47,1] = ts_save [48,1] = cm_save [49,1] = pg_save [50,1] = nav_1200 [51,1] = error_limit_1200 [52,1] = extra_blank_1200 [53,1] = outlier [54,1] = outlier_detect [55,1] = elim [56,1] = vlim [57,1] = pglim [58,1] = wlim [59,1] = tiltmax [60,1] = tilt_weight [61,1] = timoff [62,1] = timoff_uplooker [63,1] = timoff_downlooker [64,1] = maxlag [65,1] = bestlag_testing_on [66,1] = use_3beam_w_for_lag [67,1] = force_resample_uplooker [68,1] = tiltcor [69,1] = trusted_i [70,1] = ambiguity [71,1] = clear_ladcp_pressure [72,1] = weight_ladcp_pressure [73,1] = savemat [74,1] = savecdf [75,1] = saveplot [76,1] = shear [77,1] = std_weight [78,1] = barofac [79,1] = botfac [80,1] = smoofac [81,1] = smallfac [82,1] = sadcpfac [83,1] = sadcp_dtok [84,1] = shear_weightmin [85,1] = up_dn_looker [86,1] = solve [87,1] = weightmin [88,1] = weightpower [89,1] = dragfac [90,1] = drag_tilt_vel [91,1] = drag_lag_tim [92,1] = drag_lag_depth [93,1] = plot_range [94,1] = btrk_plot_range [95,1] = edit_mask_dn_bins [96,1] = edit_mask_up_bins [97,1] = edit_hardremove_mask_dn_bins [98,1] = edit_hardremove_mask_up_bins [99,1] = edit_sidelobes [100,1] = edit_spike_filter_max_curv [101,1] = edit_PPI [102,1] = edit_PPI_layer_thickness [103,1] = edit_PPI_max_hab [104,1] = edit_skip_ensembles [105,1] = detect_asynchronous [106,1] = zbottom [107,1] = zbottomerror [108,1] = edit_mask_last_bin [109,1] = warn [110,1] = messages_warnp [111,1] = ladcp_cast [112,1] = warnp [113,1] = dist_up_down [114,1] = minimum_correlation_threshold [115,1] = down_up_weight_factors [116,1] = remove_first_pings_of_uplooker [117,1] = set_lag_up2down [118,1] = set_hdg_offset [119,1] = down_deviation_table [120,1] = beam2earth_allow_3beam_solutions [121,1] = beam2earth_bad_up_beam [122,1] = beam2earth_bad_down_beam } [1,2] = { [1,1] = . [2,1] = AB1705 [3,1] = [4,1] = [5,1] = 2017 [6,1] = 0 [7,1] = 1 [8,1] = 0 [9,1] = psc [10,1] = 1 [11,1] = 0 [12,1] = 1 [13,1] = 1 [14,1] = 1 [15,1] = 1 [16,1] = 0 [17,1] = 098765 [18,1] = 123456 [19,1] = 10 [20,1] = [0 0 0 0]*nan [21,1] = [0 0 0 0]*nan [22,1] = 0 [23,1] = nan [24,1] = nan [25,1] = [] [26,1] = [] [27,1] = 10 [28,1] = 30 [29,1] = -1 [30,1] = NaN [31,1] = 3 [32,1] = 0 [33,1] = 10 [34,1] = 0.5 [35,1] = 0.08 [36,1] = 0 [37,1] = 1 [38,1] = 0 [39,1] = 0 [40,1] = 1 [41,1] = 1 [42,1] = 1 [43,1] = 0 NaN 0 [44,1] = 0 [45,1] = 150 [46,1] = 600 [47,1] = 0 [48,1] = 0 [49,1] = 0 [50,1] = 4 [51,1] = 20 [52,1] = 5 [53,1] = 1 [54,1] = 4 3 [55,1] = 0.2 [56,1] = 2.5 [57,1] = 0.3 [58,1] = 0.08 [59,1] = 30 4 [60,1] = 10 [61,1] = 0 [62,1] = 0 [63,1] = 0 [64,1] = 50 [65,1] = 0 [66,1] = 0 [67,1] = 0 [68,1] = 0 [69,1] = 2:5 [70,1] = 2.5 [71,1] = 0 [72,1] = 0.1 [73,1] = 0 [74,1] = 1 [75,1] = 1:16 [76,1] = 1 [77,1] = 1 [78,1] = 1 [79,1] = 5 [80,1] = 0 [81,1] = 1 0 [82,1] = 5 [83,1] = 0 [84,1] = 0.1 [85,1] = 1 [86,1] = 1 [87,1] = 0.05 [88,1] = 1 [89,1] = 0 [90,1] = 0.5 [91,1] = 20 [92,1] = 2000 [93,1] = nan nan nan 0 [94,1] = 400 [95,1] = [1] [96,1] = [1] [97,1] = [] [98,1] = [] [99,1] = 1 [100,1] = 0.1 [101,1] = 0 [102,1] = 180 [103,1] = 1000 [104,1] = [] [105,1] = 0 [106,1] = 0 [107,1] = 0 [108,1] = 0 [109,1] = LADCP WARNINGS [110,1] = LADCP processing warnings: [111,1] = 1 [112,1] = [] [113,1] = 0 [114,1] = [0,0] [115,1] = [1,1] [116,1] = 0 [117,1] = nan [118,1] = nan [119,1] = [] [120,1] = 1 [121,1] = nan [122,1] = nan } } Octave 4.21 fid=fopen('cruise_params.cfg.tmp','r'); cruiseVars=textscan(fid,'%s%s','Delimiter','=','CommentStyle','#'); cruiseVars cruiseVars = { [1,1] = { [1,1] = working_directory [2,1] = cruise_id [3,1] = cruise_id_prefix [4,1] = correct_year [5,1] = use_mat_for_nav [6,1] = make_nav [7,1] = use_sadcp [8,1] = print_formats [9,1] = remove_zctd_downcast [10,1] = use_master_only [11,1] = down_up [12,1] = enable_nav [13,1] = enable_ctdprof [14,1] = enable_ctdtime [15,1] = override_sn [16,1] = down_sn [17,1] = up_sn [18,1] = dz [19,1] = pose [20,1] = poss [21,1] = position_fixed [22,1] = lat_for_calc [23,1] = lon_for_calc [24,1] = time_start [25,1] = time_end [26,1] = cut [27,1] = nav_error [28,1] = avdz [29,1] = avens [30,1] = btrk_mode [31,1] = btrk_used [32,1] = btrk_ts [33,1] = btrk_below [34,1] = btrk_wlim [35,1] = bottomdist [36,1] = surfdist [37,1] = magdev [38,1] = fix_compass [39,1] = up2down [40,1] = rotup2down [41,1] = offsetup2down [42,1] = zpar [43,1] = maxbinrange [44,1] = ctdmaxlag [45,1] = ctdmaxlagnp [46,1] = ts_save [47,1] = cm_save [48,1] = pg_save [49,1] = nav_1200 [50,1] = error_limit_1200 [51,1] = extra_blank_1200 [52,1] = outlier [53,1] = outlier_detect [54,1] = elim [55,1] = vlim [56,1] = pglim [57,1] = wlim [58,1] = tiltmax [59,1] = tilt_weight [60,1] = timoff [61,1] = timoff_uplooker [62,1] = timoff_downlooker [63,1] = maxlag [64,1] = bestlag_testing_on [65,1] = use_3beam_w_for_lag [66,1] = force_resample_uplooker [67,1] = tiltcor [68,1] = trusted_i [69,1] = ambiguity [70,1] = clear_ladcp_pressure [71,1] = weight_ladcp_pressure [72,1] = savemat [73,1] = savecdf [74,1] = saveplot [75,1] = shear [76,1] = std_weight [77,1] = barofac [78,1] = botfac [79,1] = smoofac [80,1] = smallfac [81,1] = sadcpfac [82,1] = sadcp_dtok [83,1] = shear_weightmin [84,1] = up_dn_looker [85,1] = solve [86,1] = weightmin [87,1] = weightpower [88,1] = dragfac [89,1] = drag_tilt_vel [90,1] = drag_lag_tim [91,1] = drag_lag_depth [92,1] = plot_range [93,1] = btrk_plot_range [94,1] = edit_mask_dn_bins [95,1] = edit_mask_up_bins [96,1] = edit_hardremove_mask_dn_bins [97,1] = edit_hardremove_mask_up_bins [98,1] = edit_sidelobes [99,1] = edit_spike_filter_max_curv [100,1] = edit_PPI [101,1] = edit_PPI_layer_thickness [102,1] = edit_PPI_max_hab [103,1] = edit_skip_ensembles [104,1] = detect_asynchronous [105,1] = zbottom [106,1] = zbottomerror [107,1] = edit_mask_last_bin [108,1] = warn [109,1] = messages_warnp [110,1] = ladcp_cast [111,1] = warnp [112,1] = dist_up_down [113,1] = minimum_correlation_threshold [114,1] = down_up_weight_factors [115,1] = remove_first_pings_of_uplooker [116,1] = set_lag_up2down [117,1] = set_hdg_offset [118,1] = down_deviation_table [119,1] = beam2earth_allow_3beam_solutions [120,1] = beam2earth_bad_up_beam [121,1] = beam2earth_bad_down_beam } [1,2] = { [1,1] = . [2,1] = AB1705 [3,1] = cruise_id_suffix [4,1] = 2017 [5,1] = 0 [6,1] = 1 [7,1] = 0 [8,1] = psc [9,1] = 1 [10,1] = 0 [11,1] = 1 [12,1] = 1 [13,1] = 1 [14,1] = 1 [15,1] = 0 [16,1] = 098765 [17,1] = 123456 [18,1] = 10 [19,1] = [0 0 0 0]*nan [20,1] = [0 0 0 0]*nan [21,1] = 0 [22,1] = nan [23,1] = nan [24,1] = [] [25,1] = [] [26,1] = 10 [27,1] = 30 [28,1] = -1 [29,1] = NaN [30,1] = 3 [31,1] = 0 [32,1] = 10 [33,1] = 0.5 [34,1] = 0.08 [35,1] = 0 [36,1] = 1 [37,1] = 0 [38,1] = 0 [39,1] = 1 [40,1] = 1 [41,1] = 1 [42,1] = 0 NaN 0 [43,1] = 0 [44,1] = 150 [45,1] = 600 [46,1] = 0 [47,1] = 0 [48,1] = 0 [49,1] = 4 [50,1] = 20 [51,1] = 5 [52,1] = 1 [53,1] = 4 3 [54,1] = 0.2 [55,1] = 2.5 [56,1] = 0.3 [57,1] = 0.08 [58,1] = 30 4 [59,1] = 10 [60,1] = 0 [61,1] = 0 [62,1] = 0 [63,1] = 50 [64,1] = 0 [65,1] = 0 [66,1] = 0 [67,1] = 0 [68,1] = 2:5 [69,1] = 2.5 [70,1] = 0 [71,1] = 0.1 [72,1] = 0 [73,1] = 1 [74,1] = 1:16 [75,1] = 1 [76,1] = 1 [77,1] = 1 [78,1] = 5 [79,1] = 0 [80,1] = 1 0 [81,1] = 5 [82,1] = 0 [83,1] = 0.1 [84,1] = 1 [85,1] = 1 [86,1] = 0.05 [87,1] = 1 [88,1] = 0 [89,1] = 0.5 [90,1] = 20 [91,1] = 2000 [92,1] = nan nan nan 0 [93,1] = 400 [94,1] = [1] [95,1] = [1] [96,1] = [] [97,1] = [] [98,1] = 1 [99,1] = 0.1 [100,1] = 0 [101,1] = 180 [102,1] = 1000 [103,1] = [] [104,1] = 0 [105,1] = 0 [106,1] = 0 [107,1] = 0 [108,1] = LADCP WARNINGS [109,1] = LADCP processing warnings: [110,1] = 1 [111,1] = [] [112,1] = 0 [113,1] = [0,0] [114,1] = [1,1] [115,1] = 0 [116,1] = nan [117,1] = nan [118,1] = [] [119,1] = 1 [120,1] = nan [121,1] = nan } }