I am currently trying to setup the windows real-time kernel in Matlab r2013b, but the command rtwintgt -setup is giving me an error. I have read the following link and confirmed that I do have admin access and my license includes Real-Time Windows Target. rtwintgt install
My error is as follows: ``
rtwintgt -setup
There is a different version of the Real-Time Windows Target kernel installed.
Do you want to update to the current version? [y] : y
> Error using rtwintgt>ErrorDialog (line 363) Installer error: "Failed
> to copy the kernel to Windows system folder. The process cannot access
> the file because it is being used by another process.".
>
> Error in rtwintgt>RunInstaller (line 280) ErrorDialog(prompt,
> message('rtwin:installer:installererror', errmsg));
>
> Error in rtwintgt>rtwt_setup (line 119) result = RunInstaller(prompt,
> 'install');
>
> Error in rtwintgt (line 68) retval = feval(subfn, prompt);
From the line, "The process cannot access the file because it is being used by another process," I can understand that there is another program interrupting the file retrieval, but I do not know what program. I have tried ending as many tasks as I could and have restarted my computer . Any help would be much appreciated, as I am trying to get this to work for a project.