- C:\Users\Ingomar\Desktop\hil\test.mldatx might exist, but might be owned by someone else, or might have security settings on it that prevent you from writing to it. If so then try deleting it yourself
- C:\Users\Ingomar\Desktop\hil might exist, but might be owned by someone else, or might have security settings on it that prevent you from writing to it. If so then look at the security properties of it to try to figure out what is going on.
- Or maybe you are now using a different Windows user and no longer have write access to C:\Users\Ingomar
The call to slrt_make_rtw_hook, during the exit hook generated the following error: Cannot write to destination: Use the 'f' option to override.
    35 views (last 30 days)
  
       Show older comments
    
    Ingomar Schröder
 on 8 Oct 2021
  
    
    
    
    
    Commented: Ingomar Schröder
 on 8 Oct 2021
            Hi, when building any model for simulink real-time i get the following error message. About one month ago i was able to build and run the model successfully. I haven't changed anything about the model, matlab/simulink, the compiler or the pc in general. I tryed different models and changed the folder as is suggested here ( https://de.mathworks.com/matlabcentral/answers/428535-simulink-speedgoat-error-slrt_make_rtw_hook?s_tid=srchtitle ). I'm using matlab 2019b on windows 10. I have no clue what changed that is causing this error. Dose matlab install updates automatically? Can a windows update cause this error?
The call to slrt_make_rtw_hook, during the exit hook generated the following error:
    Cannot write to destination: C:\Users\Ingomar\Desktop\hil\test.mldatx.  Use the 'f' option to override.
The build process will terminate as a result.
Caused by:
Cannot write to destination: C:\Users\Ingomar\Desktop\hil\test.mldatx.  Use the 'f' option to override
2 Comments
  Walter Roberson
      
      
 on 8 Oct 2021
				Several possibilities:
Accepted Answer
More Answers (0)
See Also
Categories
				Find more on Simulink Coder in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
