title: Matlab rtwintgt -setup install not working
body: <p>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. <a href="https://stackoverflow.com/questions/8775279/rtwintgt-install">rtwintgt install</a></p>
  
  <p>My error is as follows:
  ``</p>
  
  <p>rtwintgt -setup</p>
  
  <pre><code>There is a different version of the Real-Time Windows Target kernel installed.
  Do you want to update to the current version? [y] : y
  &gt; Error using rtwintgt&gt;ErrorDialog (line 363) Installer error: "Failed
  &gt; to copy the kernel to Windows system folder. The process cannot access
  &gt; the file because it is being used by another process.".
  &gt; 
  &gt; Error in rtwintgt&gt;RunInstaller (line 280)   ErrorDialog(prompt,
  &gt; message('rtwin:installer:installererror',   errmsg));
  &gt; 
  &gt; Error in rtwintgt&gt;rtwt_setup (line 119) result = RunInstaller(prompt,
  &gt; 'install');
  &gt; 
  &gt; Error in rtwintgt (line 68)   retval = feval(subfn, prompt);
  </code></pre>
  
  <p>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.</p>