- 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!