- 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?
2 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1811938/image.png)
1 个评论
Saurabh
2024-11-22
Checkout this MATLAB answer thread and see if this could solve the issue:
回答(1 个)
Sabin
2024-12-22
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!