MATLAB Answers

ModelVariableFinder in R2018b?

2 views (last 30 days)
Farhan Hussain Qazi
Farhan Hussain Qazi on 9 Jun 2020
Answered: Rahul Singhal on 15 Jun 2020
I have matlab version R2018b.
I want to use this report api class: slreportgen.finder.ModelVariableFinder
Is this api class not available in R2018b version beacuse when I am trying to use it I get an error which is mentioned below:
Undefined variable "slreportgen" or class "slreportgen.finder.ModelVariableFinder"
Thank you in advance for your replies.

Answers (2)

Steven Lord
Steven Lord on 9 Jun 2020
The note at the end of the documentation page to which you linked indicates it was introduced in release R2019b, which is two releases newer than the release R2018b that you're using.

Rahul Singhal
Rahul Singhal on 15 Jun 2020
Model variable reporter and finder classes were introduced in R2019b.
Please refer to the Simulink Report Generator release notes for R2019b here:

Community Treasure Hunt

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

Start Hunting!