How to use plotInteraction?

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!

Respuestas (1)

Steven Lord
Steven Lord el 8 de Oct. de 2020

0 votos

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 comentario

Luca Kaiser
Luca Kaiser el 9 de Oct. de 2020
Hi, thanks for your answer. I do have it installed (version 11.3). Matlab still says the function is 'undefined'

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 8 de Oct. de 2020

Comentada:

el 9 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by