Simulink reference model keeps compiling
    8 views (last 30 days)
  
       Show older comments
    
    Gabriel Lopes
 on 21 Jan 2021
  
    
    
    
    
    Answered: Ahmed Fahmy
 on 5 Jan 2024
            Hi Matlab Community,
I have a question on reference model on simulink. 
I am working with a top model that includes reference model (pre-compiled to accelerate the compilation of the top model). 
However, even of the reference model hasn't changed simulink tells me that the model has change and must be saved (sometimes) and other times just recompile it despite no changes were made on it. 
I have 4 reference model in the top model and only one has this problem. 
There models are setup to compile on speedgoat real time targets. 
I a can give you further information to help you in the better understanding of my problem, do not hesitate. 
Thank  you ! 
0 Comments
Accepted Answer
  Diego Kuratli
    
 on 21 Jan 2021
        Hi Gabriel,
Does the problematic reference model include Speedgoat drivers, or other particular blocks that are not included in the other reference models? If yes, which blocks?
5 Comments
  Diego Kuratli
    
 on 25 Jan 2021
				Correct, this does not seem a problem related to Simulink / Simulink Coder. The problem is that the IO682 blocks are somehow modifying the model even if there isn't any modification. If the model is modified, then Simulink Coder needs to recompile it.
More Answers (1)
  Ahmed Fahmy
 on 5 Jan 2024
        I have this problem and I am not using any SpeedGoat Drivers. Is there any other reason for this to happen?
0 Comments
See Also
Categories
				Find more on Target Computer Setup 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!

