Error related to signal dimension - Unable to determine signal dimensions.
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
I am doing an EV simulation on simulink. While simulating the system I got one error. The screenshot of the error message is attahced. The error showing switch is present inside the DC-DC converter, which is connected to the FC system. The image of that connection is also shown. Can anyone help me to solve the issue?


댓글 수: 5
채택된 답변
  Kautuk Raj
      
 2025년 1월 2일
        From your description, in the absence of the model file, I would assume that Simulink is unable to determine the size of signals without additional specification. This is especially the case with MATLAB function blocks since the code written inside this block undergoes code generation. The conversion of C-code requires signal dimensionality to be known in advance prior to code generation.
The solution to this is to make use of signal specification blocks to define the size of signals prior to inputting them back into MATLAB function block. You can learn more about it at the following MathWorks documentation page: https://www.mathworks.com/help/releases/R2021b/simulink/slref/signalspecification.html 
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



