Skip to content

fixing issue Issue174 related to implicit functions #279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 3, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add files via upload
deleting unnecessary changes
  • Loading branch information
benaliabderrahmane authored Aug 3, 2021
commit 8cf359fd9d6ef19c39d820950eb171bbdc9bdf6d
24 changes: 12 additions & 12 deletions plotly/plotly_aux/getuserdir.m
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
function userDir = getuserdir
% GETUSERDIR Retrieve the user directory
% - Under Windows returns the %APPDATA% directory
% - For other OSs uses java to retrieve the user.home directory

if ispc
% userDir = winqueryreg('HKEY_CURRENT_USER',...
% ['Software\Microsoft\Windows\CurrentVersion\' ...
% 'Explorer\Shell Folders'],'Personal');
userDir = getenv('appdata');
else
userDir = char(java.lang.System.getProperty('user.home'));
function userDir = getuserdir
% GETUSERDIR Retrieve the user directory
% - Under Windows returns the %APPDATA% directory
% - For other OSs uses java to retrieve the user.home directory
if ispc
% userDir = winqueryreg('HKEY_CURRENT_USER',...
% ['Software\Microsoft\Windows\CurrentVersion\' ...
% 'Explorer\Shell Folders'],'Personal');
userDir = getenv('appdata');
else
userDir = char(java.lang.System.getProperty('user.home'));
end