This function creates multiple pages when used inside a loop that is greater than the product of rows(m) x col(n) subplots. Matlab function 'subplot' would segment fault in this type of usage. This function therefore overcomes this issue. 
It also output handles to all figures and sublots created.
It works by passing it the loop index and length, along with row(m) and col(n) for subplot.
Cite As
Leyon (2025). pages_subplot.m (https://nl.mathworks.com/matlabcentral/fileexchange/46885-pages_subplot-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2013a
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
      Find more on Subplots in Help Center and MATLAB Answers
    
  Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | 
