I am trying to calculate the time taken by the system command in my C program. I am trying to call a MATLAB routine from C using system() function within C. I want to calculate how much cputime is consumed from the time system() is called, MATLAB runs, exits and returns control back to C. My pseudocode snippet is below:I am trying to calculate the time taken by the