function [optGoal, optGoal_beam, optGoal_idx, targetMinMax_idx] = get_ROI_goals(patient) % this is a support function for NLP_beamlet_optimizer. It returns the % goals planned for specific patients load(['C:\010-work\003_localGit\WiscPlan_v2\optGoals\' patient, '.mat']); optGoal = ROI_goals.optGoal; optGoal_beam = ROI_goals.optGoal_beam; optGoal_idx = ROI_goals.optGoal_idx; targetMinMax_idx = ROI_goals.targetMinMax_idx; end