Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CRP Toolbox for MATLAB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Norbert Marwan
CRP Toolbox for MATLAB
Commits
2f28f1d5
Commit
2f28f1d5
authored
9 years ago
by
marwan
Browse files
Options
Downloads
Patches
Plain Diff
fix compatibility issues (R2014b)
parent
b4da98b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/close_all.m
+4
-1
4 additions, 1 deletion
private/close_all.m
private/show_crp.m
+4
-1
4 additions, 1 deletion
private/show_crp.m
private/smart_close.m
+4
-1
4 additions, 1 deletion
private/smart_close.m
with
12 additions
and
3 deletions
private/close_all.m
+
4
−
1
View file @
2f28f1d5
...
...
@@ -14,6 +14,9 @@ function close_all
% $Revision$
%
% $Log$
% Revision 4.8 2009/03/24 08:36:04 marwan
% copyright address updated
%
% Revision 4.7 2004/11/10 07:04:28 marwan
% initial import
%
...
...
@@ -37,5 +40,5 @@ global props
end
try
,
set
(
0
,
'UserData'
,
root_ud
,
props
.
root
),
end
clear
all
%
clear all
% does not work since MATLAB 2014
disp
(
'Thank you for using CRP toolbox.'
)
This diff is collapsed.
Click to expand it.
private/show_crp.m
+
4
−
1
View file @
2f28f1d5
...
...
@@ -14,6 +14,9 @@ function show_crp(X,Shuttle)
% $Revision$
%
% $Log$
% Revision 4.15 2014/10/06 07:18:41 marwan
% bug in colorbar scaling fixed
%
% Revision 4.14 2009/03/24 08:36:04 marwan
% copyright address updated
%
...
...
@@ -118,7 +121,7 @@ NY=size(X,1);
b2
=
get
(
h1
,
'position'
);
b3
=
get
(
h1
,
'ticklength'
);
set
(
h1
,
'ticklength'
,[
b3
(
1
)/
2
b3
(
2
)])
%
set(h1,'ticklength',[b3(1)/2 b3(2)])
% does not work since MATLAB 2014b
titletext
=
sprintf
(
'%s \n'
,[
Shuttle
.
txt_cross
,
'Distance Matrix'
],
...
[
'Dimension: '
,
num2str
(
Shuttle
.
m
),
', Delay: '
,
num2str
(
Shuttle
.
t
)]);
...
...
This diff is collapsed.
Click to expand it.
private/smart_close.m
+
4
−
1
View file @
2f28f1d5
...
...
@@ -14,6 +14,9 @@ function smart_close(hCRP,hCtrl)
% $Revision$
%
% $Log$
% Revision 4.8 2009/03/24 08:36:04 marwan
% copyright address updated
%
% Revision 4.7 2004/11/10 07:04:29 marwan
% initial import
%
...
...
@@ -42,5 +45,5 @@ if ~isempty(h1)
end
try
,
set
(
0
,
'UserData'
,
root_ud
,
props
.
root
),
end
clear
all
%
clear all
% does not work since MATLAB 2014
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment