Clear Filters
Clear Filters

How to use plotInteraction?

1 view (last 30 days)
Luca Kaiser
Luca Kaiser on 8 Oct 2020
Commented: Luca Kaiser on 9 Oct 2020
Hi,
I am trying to use the function plotInteraction. I am using Matlab R2018A. In the docs it says it has been introduced in R2012b but I still don`t have it. What could be a potential reason for that?
Thanks!

Answers (1)

Steven Lord
Steven Lord on 8 Oct 2020
This function is in Statistics and Machine Learning Toolbox. Do you have this toolbox installed? Check the output of the ver function.
This function requires its first input to be either a LinearModel or CompactLinearModel object. If you're trying to call it with a regular double matrix as the first input, that will not work.
  1 Comment
Luca Kaiser
Luca Kaiser on 9 Oct 2020
Hi, thanks for your answer. I do have it installed (version 11.3). Matlab still says the function is 'undefined'

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!