- https://www.mathworks.com/matlabcentral/answers/427391-simulink-buffer-how-do-i-fix-the-error-all-sample-times-must-be-discrete-no-continuous-or-constan
- https://www.mathworks.com/matlabcentral/answers/491971-all-sample-times-for-this-block-must-be-discrete-no-continuous-or-constant-sample-times-are-allowed
The problem encountered concerns the Constellation Diagram block, for which all sampling times must be discrete. In my simulink model I can't find this block. How can I do it?
조회 수: 15 (최근 30일)
이전 댓글 표시
댓글 수: 1
Saurabh
2024년 11월 22일
Checkout this MATLAB answer thread and see if this could solve the issue:
답변 (1개)
Sabin
2024년 12월 22일 20:40
May be due to some model settings. I can reproduce it on my end but if I copy everything in a fresh model it simulates. However, I don’t think you’ll be able to simulate 1180 seconds with Max Step size 1e-6 (this is the rate for PWM generation for the DC/DC converter). Moreover, you are mixing Simscape technology with Simscape Electrical Specialized Power Systems in the same model. This is not optimal from the simulation point of view, and you can run into solver difficulties. It is better to stick with only one technology, there are similar blocks in the two technologies to enable this. I hope this helps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Block Libraries에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!