error report container Matlab Report generator

4 ビュー (過去 30 日間)
Knut Skaug
Knut Skaug 2018 年 9 月 7 日
回答済み: Akshay Kumar 2018 年 9 月 10 日
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?

回答 (1 件)

Akshay Kumar
Akshay Kumar 2018 年 9 月 10 日
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.

カテゴリ

Help Center および File ExchangeReport Generator Creation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by