Why does gscatter fail in R2016a?
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I recently downloaded R2016a. Unlike before I have problems with gscatter. The help contains the example:
load carsmall
gscatter(Weight, MPG, Origin)
It returns an error:
Undefined variable "statslib" or class "statslib.internal.mgrp2idx"
I am using the default path. Do I miss some toolboxes?
Bob Duin
2 Commenti
Tom Lane
il 11 Mar 2016
In R2016a I find this:
>> which statslib.internal.mgrp2idx
...\matlab\toolbox\shared\statslib\+statslib\+internal\mgrp2idx.m % static method or package function
and this:
>> ls(fullfile(matlabroot,'toolbox','shared','statslib','+statslib','+internal'))
. getParamVal.m isScalarInt.m parseOnOff.m
.. grp2idx.m isString.m plotGroupedHist.m
colorStringToRGB.m hasMissingVal.m mgrp2idx.m removenan.m
cycleLineProperties.m isIntegerVals.m parseArgs.m
and this:
>> findstr(path,'statslib')
ans =
11801 11891
Would you check to make sure 'statslib' can be found in your path, the contents of the directory are correct, and the 'which' command finds this file?
Rakesh Chavan
il 16 Mar 2016
Hi,
Have you installed the Statistics and Machine Learning Toolbox as well in the newer version?
You can check the output of the 'ver' command to check the list of toolbox's you have installed. If you are using a network license you use 'license checkout statistics_toolbox ' to verify if you are able to use the toolbox.
You can also use the 'gscatter' command and then use the 'license inuse' to check if the Statistics toolbox is being used.
Hope this helps
regards
Rakesh
Risposte (0)
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!