How to use plotInteraction?

조회 수: 10 (최근 30일)
Luca Kaiser
Luca Kaiser 2020년 10월 8일
댓글: Luca Kaiser 2020년 10월 9일
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!

답변 (1개)

Steven Lord
Steven Lord 2020년 10월 8일
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
Luca Kaiser
Luca Kaiser 2020년 10월 9일
Hi, thanks for your answer. I do have it installed (version 11.3). Matlab still says the function is 'undefined'

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by