Closed ThomasChauve closed 8 years ago
Could you please check line 130 of the file mtex/startup_mtex
According to your matlab version the condition should be true and line 131 should be executed.
You could also replace MATLABverLessThan('8.1')
by
verLessThan('matlab','8.1')
and please post the result of the last command.
Ralf.
I replaced MATLABverLessThan('8.1')
by verLessThan('matlab','8.1')
When I run ~verLessThan('matlab','8.1')
I get 1
(see screenshot)
Line 131 seem to be run, but I still have the same error (see screenshot, red line) This is for both 3.3.1 and 4.4.alpha2.
Thomas
Maybe the problem was, that you added the mtex path with all subdirectories to the search path. This you should not do. startup_mtex takes care that the correct subdirectories are added to the matlab search path.
Ralf.
Yes it was this. I create new path with only mtex directory.
It works fine for MTEX 4.3.1
But I still have warning for MTEX 4.4.alpha2. Less warning but some remains.
Thanks Thomas
I know about these warnings. You should be fine ignoring them.
Ralf.
OK thanks a lot
Thomas
Dear Ralf
I've got an issue using both MTEX 4.3.1 and 4.4.alpha.2. Hence I cannot use it. I saw that Dave Mainprice has the same issue (https://groups.google.com/forum/?fromgroups=#!topic/mtexmail/XrzzLODAc8k).
I have no probleme with MTEX 4.2.1 but I am interesting to look at GND calculation.
I using Matlab2014b on Debian 8.
I put error message for both MTEX 4.3.1 and 4.4.alpha.2 and the result of plot(ebsd) which give me an error. For both test, I used a clean setpath with just MTEX inside.
All the best Thomas Chauve
MTEX 4.3.1 ` Warning: Function isgraphics has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. Warning: Function isgraphics has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. Warning: Function isgraphics has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Uninstall MTEX`
`
Error in labelcheck>local_validlabelobj (line 31) if isscalar(obj) && ...
Error in labelcheck (line 10) if (nargs > 0) && (numel(args{1}) == 1) && local_validlabelobj(args{1},propname)
Error in xlabel (line 20) [ax,args,nargs] = labelcheck('XLabel',varargin);
Error in mapPlot (line 65) xlabel(ax,'x','visible','off')
Error in newMapPlot (line 18) mP = mapPlot(ax,varargin{:});
Error in EBSD/plot (line 30) mP = newMapPlot('scanUnit',ebsd.scanUnit,'parent',mtexFig.gca,varargin{:}); `
MTEX 4.4.alpha2 ` Warning: Function isgraphics has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. Warning: Function disp has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. Warning: Function isgraphics has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. Warning: Function disp has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. Warning: Function isgraphics has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Uninstall MTEX `
`
Error in labelcheck>local_validlabelobj (line 31) if isscalar(obj) && ...
Error in labelcheck (line 10) if (nargs > 0) && (numel(args{1}) == 1) && local_validlabelobj(args{1},propname)
Error in xlabel (line 20) [ax,args,nargs] = labelcheck('XLabel',varargin);
Error in mapPlot (line 65) xlabel(ax,'x','visible','off')
Error in newMapPlot (line 18) mP = mapPlot(ax,varargin{:});
Error in EBSD/plot (line 30) mP = newMapPlot('scanUnit',ebsd.scanUnit,'parent',mtexFig.gca,varargin{:}); `