error report container Matlab Report generator

2 visualizzazioni (ultimi 30 giorni)
Knut Skaug
Knut Skaug il 7 Set 2018
Risposto: Akshay Kumar il 10 Set 2018
Hi
I'm running into an error trying to generate a report.
I tried running the example code posted in the instructional video posted by Matlab, which is this:
import mlreportgen.report.*;
import mlreportgen.dom.*;
doctype = 'pdf';
doc = Report('Population report', doctype);
error message: Cannot find an exact (case-sensitive) match for 'Report'
closest match: ... Matlab\R2016b\toolbox\rptgen\rptgen\report.m
Does not work. Any idea why?

Risposte (1)

Akshay Kumar
Akshay Kumar il 10 Set 2018
Based on the error that you have provided, I assume that you are using MATLAB R2016b.
The line mlreportgen.report.*package was introduced in release R2017b which is why you are facing the error.
You can refer the below MATLAB answer for more details about the issue you are facing.
As suggested in the answer, I would you advise you to upgrade to R2017b to use this package.

Categorie

Scopri di più su Downloads in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by