MATLAB-CONDOR, 2D GUI VERSION 2

CONDORMATLAB.m

CDCheckLogFiles
CDCheckLogFileInChunk
CDGenerateCondorSubmitFile
CDGetOutput
CDGetProcessID
CDGetProcessIndex
CDGetSubmittedJobsInformation
CD_ResumeJobsInChunk
CDSubmitDataToCondor
CDSubmitJobsInChunk
MLAddFolder
MLAddJobActivity
MLAddUserActivity
MLCheckInput
MLClearOldData
MLCollectJobInfo
MLCollectJobInfoInChunk
MLDisplayError
MLDisplayInformation
MLDivideJobsToChunk
MLDrawCompleteJobHistogram
MLDrawCurrentData
MLGenerateAllLogFiles
MLGenerateAppSettings
MLGenerateJobNode
MLGenerateLogFile
MLGeneratePath
ML_GetAllJobsInXMLLogFile
MLGetCompleteJobs
MLGetIncompleteJobFromOneChunk
MLGetSettingInfo
MLGetTime
MLInitGlobalParams_DrawGraph
MLInitGlobalParams_ResumeGraph
ML_IsSubmittedChunk
MLRemoveSpace
MLSwapElements
MLUpdateJobStatus
MLUpdateJobStatusInChunk
MLUpdateLogFiles
MLUpdateProcessIDInLogFile
MLWriteData

function MLCheckInput(XStart, XEnd, NumberOfPoints, exeFile, handles)

Description:

Validate inputs of the application.

Input:

- XStart: double type, start element of the input array.
- XEnd: double type, end element of the input array.
- NumberOfPoints: total numbers of the elements of the input array. (including both XStart and XEnd)
- exeFile: Matlab custom function.
- handles: current GUI object on which the information displays

Process:

1. Validate start point.
2. Validate number of points (between 1 and 10,000,000).
3. Validate number of points. ( > 0)
4. Check the existence of custom function file.

Output:

-status: success (0) or failure(1)