- 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 views (last 30 days)
Show older comments
1 Comment
Saurabh
on 22 Nov 2024
Checkout this MATLAB answer thread and see if this could solve the issue:
Answers (1)
Sabin
on 22 Dec 2024 at 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 Comments
See Also
Categories
Find more on Electrical Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!