I can't use Document command to generate a Report
    7 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Junior Joel Aguilar Hancco
 am 15 Feb. 2021
  
    
    
    
    
    Kommentiert: Junior Joel Aguilar Hancco
 am 15 Feb. 2021
            
6 Kommentare
Akzeptierte Antwort
  Cris LaPierre
    
      
 am 15 Feb. 2021
        With the documentation example working, try using your template again. Do you still get the same error?
If so, how did you create your template? What happens if you create your template using 
2 Kommentare
  Cris LaPierre
    
      
 am 15 Feb. 2021
				
      Bearbeitet: Cris LaPierre
    
      
 am 15 Feb. 2021
  
			I just worked through the example in the video you shared, and it worked fine for me. Perhaps you just needed to restart MATLAB?
Weitere Antworten (1)
  Rahul Singhal
    
 am 15 Feb. 2021
        The issue in the non-working script is that it has a typo in the package import statement, which is the reason it is not able to recognize the Document class.
Change:
import mireportgen.dom.*;
to 
import mlreportgen.dom.*;
2 Kommentare
Siehe auch
Kategorien
				Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



