solver for digital systems
3 views (last 30 days)
Show older comments
Hi,
is it better to set Solver to "discrete (no continuous states)" for digital systems?
Thanks Senmeis
0 Comments
Accepted Answer
Azzi Abdelmalek
on 9 Dec 2012
When I work with digital system, I prefer set solver to discrete with fixed step. Now If you don't set a solver to discrete, and your system don't contain any continuous state, when you run your model, Matlab will set automatically the solver to variable discrete solver.
2 Comments
Azzi Abdelmalek
on 10 Dec 2012
If your sample time is varying, then you can work with variable discrete step. In your blocks that requires sample time, set it to -1 (Inherited), usually, it's the default setting. If your model don't contain any continuous state, set your solver to discrete, to avoid error message, because Matlab, like I said, will set it automatically.
More Answers (0)
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!