18-Dec-2023 19:59:23 heated_plate_parfor_test(): heated_plate_parfor() solves the heat equation. The parfor() function is used for parallel execution. Starting parallel pool (parpool) using the 'Processes' profile ... Connected to parallel pool with 1 workers. heated_plate_parfor() MATLAB version A program to solve for the steady state temperature distribution over a rectangular plate. Spatial grid of 500 by 500 points. The iteration will repeat until the change is <= 1.000000e-01 The steady state solution will be written to "solution.txt". Iteration Change 1 18.737475 2 9.368737 4 4.098823 8 2.289577 16 1.136604 32 0.568201 64 0.282805 128 0.141777 181 0.099995 Error tolerance achieved. Wallclock time = 6.629514 Solution written to the output file "solution.txt". heated_plate_parfor(): Normal end of execution. 1 7.60132 Parallel pool using the 'Processes' profile is shutting down. Starting parallel pool (parpool) using the 'Processes' profile ... Connected to parallel pool with 4 workers. heated_plate_parfor() MATLAB version A program to solve for the steady state temperature distribution over a rectangular plate. Spatial grid of 500 by 500 points. The iteration will repeat until the change is <= 1.000000e-01 The steady state solution will be written to "solution.txt". Iteration Change 1 18.737475 2 9.368737 4 4.098823 8 2.289577 16 1.136604 32 0.568201 64 0.282805 128 0.141777 181 0.099995 Error tolerance achieved. Wallclock time = 7.005790 Solution written to the output file "solution.txt". heated_plate_parfor(): Normal end of execution. 4 7.96594 Parallel pool using the 'Processes' profile is shutting down. heated_plate_parfor_test(): Normal end of execution. 18-Dec-2023 20:00:15