Data types mismatch in Simulink
    7 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Sergei
 el 18 de Abr. de 2025
  
Dear all, 
in the attached file you can find a project, obtained by following the instructions in SoC Blockset User's Guide, page 2-34 (Create an SoC Project Application). 
When I run the project I get the following Errors:

Could you please help me to solve the issue?
2 comentarios
Respuesta aceptada
  SACHIN KHANDELWAL
      
 el 21 de Abr. de 2025
        I understand that when running the model you are encountering data type mismatch issues. 
Regarding the second error - "Data type mismatch". It is clearly stated that Input port 2 expects a signal of data type 'double', but the currently it is 'uint8'. I recommend you to refer the following MATLAB Answer post : https://www.mathworks.com/matlabcentral/answers/92959-why-do-i-receive-a-data-type-mismatch-error-when-using-a-model-reference-in-simulink
Also, Could you please attach the model file/project for better recommendation.
1 comentario
Más respuestas (0)
Ver también
Categorías
				Más información sobre Multiprocessor Architecture Modeling en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


