How to use plotInteraction?
4 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
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.
另请参阅
类别
在 Help Center 和 File 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!