Answer:
addpath C:\Program Files\MATLAB\ToolBoxes-20181106T221851Z-001\ToolBoxes\SPM\spm12
savepath
Explanation:
The error clearly indicates that the SPM is missing and is not properly installed. In order to correct this, the following commands are required to be run in the command line of the MATLAB.
These commands will do following.
The first command is the addpath, this will add the path of the toolboxes in the working directory path of the MATLAB
addpath C:\Program Files\MATLAB\ToolBoxes-20181106T221851Z-001\ToolBoxes\SPM\spm12
The second command is the savepath, this will save the additional added path of the working directory for future use.
savepath