Skip to content

Commit

Permalink
Merge pull request #64 from datajoint/stage
Browse files Browse the repository at this point in the history
Fix MATLAB version check for code path releases
  • Loading branch information
ixcat authored Nov 5, 2020
2 parents ad7eeab + aca59a4 commit f7461b8
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ win.*
.DS_Store
macos*
*.prj
matlab.prf
matlab.prf
*.mltbx
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![View mym on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/81208-mym)

## mym

MySQL API for MATLAB with support for BLOB objects
Expand Down
Binary file modified distribution/mexa64/mym.mexa64
Binary file not shown.
Binary file modified distribution/mexmaci64/mym.mexmaci64
Binary file not shown.
Binary file modified distribution/mexw64/mym.mexw64
Binary file not shown.
8 changes: 4 additions & 4 deletions local-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ services:
disp(mym('version'));\
"
cd "$${ORIG_DIR}"
# Copy preferences
cp /tmp/matlab.prf /home/muser/.matlab/${MATLAB_VERSION}/matlab.prf
# Interactive Jupyter Notebook environment
## Copy preferences
# cp /tmp/matlab.prf /home/muser/.matlab/${MATLAB_VERSION}/matlab.prf
## Interactive Jupyter Notebook environment
jupyter notebook
mac_address: $MATLAB_HOSTID
volumes:
Expand All @@ -103,6 +103,6 @@ services:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
## Additional mounts may go here
# - ./notebook:/home/muser/notebooks
- ./matlab.prf:/tmp/matlab.prf
# - ./matlab.prf:/tmp/matlab.prf
networks:
main:
4 changes: 2 additions & 2 deletions mym.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% setupMYM (invoked only first time to set path and removes itself)
function varargout = mym(varargin)
warning('mYm:Setup:FirstInvokation', 'Setting mym to path as first invokation.');
warning('mYm:Setup:FirstInvocation', 'Setting mym to path as first invocation.');
% determine state
origDir = pwd;
ext = dbstack;
Expand All @@ -10,7 +10,7 @@
% add to mex-path as appropriate (persist)
toolboxName = 'mym';
s = settings;
if verLessThan('matlab', '9.2')
if verLessThan('matlab', '9.5')
toolboxRoot = [strrep(s.matlab.addons.InstallationFolder.ActiveValue, '\', '/') ...
'/Toolboxes/' toolboxName '/code'];
else
Expand Down
Binary file removed mym.mltbx
Binary file not shown.
2 changes: 1 addition & 1 deletion src/mym.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// mym version information
#define MYM_VERSION_MAJOR 2
#define MYM_VERSION_MINOR 7
#define MYM_VERSION_BUGFIX 3
#define MYM_VERSION_BUGFIX 4


// some local defintion
Expand Down

0 comments on commit f7461b8

Please sign in to comment.