MATLAB Permission Issue Across Multiple Users on Windows 10
Hello folks,
I am trying to install MATLAB as the administrator on a common use Windows 10 machine. This machine has multiple user accounts that will each be using MATLAB from their this source installation.
When MATLAB is opened from the main admin account, there is no issue. However, when MATLAB is opened from any of the other user accounts the following errors are given in the command window:
Previously accessible file "C:Program FilesMATLABR2022atoolboxlocalpathdef.m" is now inaccessible.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this
warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Undefined function ‘usejava’ for input arguments of type ‘char’.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this
warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Warning: Initializing Java preferences failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Unrecognized function or variable ‘initdesktoputils’.
com.mathworks.mvm.exec.MvmExecutionException: internal.matlab.desktop.editor.breakpointsForAllFiles
at com.mathworks.mvm.exec.NativeFutureResult.nativeGet(Native Method)
at com.mathworks.mvm.exec.NativeFutureResult.get(NativeFutureResult.java:62)
at com.mathworks.mvm.exec.FutureResult.getInternal(FutureResult.java:413)
at com.mathworks.mvm.exec.FutureFevalResult.getInternal(FutureFevalResult.java:49)
at com.mathworks.mvm.exec.FutureResult.get(FutureResult.java:263)
at com.mathworks.mlservices.MatlabDebugServices$3.run(MatlabDebugServices.java:978)
at com.mathworks.mvm.exec.NativeFutureResult.callRunnable(NativeFutureResult.java:146)
at com.mathworks.mvm.exec.NativeFutureResult.done(NativeFutureResult.java:138)
Caused by: com.mathworks.mvm.exec.MvmRuntimeException: Unrecognized function or variable ‘internal.matlab.desktop.editor.breakpointsForAllFiles’.
Unrecognized function or variable ‘matlab.internal.docsearchserver.getDocCenterLanguage’.
Unrecognized function or variable ‘connector.internal.lifecycle.callConnectorStarted’.
Unrecognized function or variable ‘fullfile’.
Error occurred during background graphics initialization: Undefined function ‘fullfile’ for input arguments of type ‘char’.
Unrecognized function or variable ‘matlab.supportpackagemanagement.internal.getInstalledSupportPackagesInfo’.
Unable to resolve the name ‘matlab.internal.doc.updateConnectorDocroot’.
Unable to resolve the name ‘matlab.internal.doc.updateCustomDocContent’.
Unable to resolve the name ‘matlab.internal.doc.search.configureSearchServer’.
Unrecognized function or variable ‘matlab.internal.debugger.breakpoints.initBreakpointsStoreInstance’.
Unrecognized function or variable ‘pwd’.
Unrecognized function or variable ‘matlab.unittest.internal.ui.toolstrip.getFileInfoForToolstrip’.
Unrecognized function or variable ‘matlab.internal.codingui.warmupProgrammingAids’.
I attempted to solve this issue by restoring the default pathing and saving it as pathdef.m in the C:Program FilesMATLABR2022atoolboxlocal folder:
restoredefaultpath; matlabrc
savepath C:Program FilesMATLABR2022atoolboxlocalpathdef.m
This would work for the current user I was logged in as, but when I switched to another user the same issue would occur. I can subvert this issue but forcing MATLAB to be run as Administrator upon startup, but this is not ideal for the security levels required on this machine.
I figure this issue has something to do with user permission levels, but I am unsure which files / directories and what persmission settings I should set up for my configuration. Any help would be greatly appreciated! Thank you.Hello folks,
I am trying to install MATLAB as the administrator on a common use Windows 10 machine. This machine has multiple user accounts that will each be using MATLAB from their this source installation.
When MATLAB is opened from the main admin account, there is no issue. However, when MATLAB is opened from any of the other user accounts the following errors are given in the command window:
Previously accessible file "C:Program FilesMATLABR2022atoolboxlocalpathdef.m" is now inaccessible.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this
warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Undefined function ‘usejava’ for input arguments of type ‘char’.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this
warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Warning: Initializing Java preferences failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Unrecognized function or variable ‘initdesktoputils’.
com.mathworks.mvm.exec.MvmExecutionException: internal.matlab.desktop.editor.breakpointsForAllFiles
at com.mathworks.mvm.exec.NativeFutureResult.nativeGet(Native Method)
at com.mathworks.mvm.exec.NativeFutureResult.get(NativeFutureResult.java:62)
at com.mathworks.mvm.exec.FutureResult.getInternal(FutureResult.java:413)
at com.mathworks.mvm.exec.FutureFevalResult.getInternal(FutureFevalResult.java:49)
at com.mathworks.mvm.exec.FutureResult.get(FutureResult.java:263)
at com.mathworks.mlservices.MatlabDebugServices$3.run(MatlabDebugServices.java:978)
at com.mathworks.mvm.exec.NativeFutureResult.callRunnable(NativeFutureResult.java:146)
at com.mathworks.mvm.exec.NativeFutureResult.done(NativeFutureResult.java:138)
Caused by: com.mathworks.mvm.exec.MvmRuntimeException: Unrecognized function or variable ‘internal.matlab.desktop.editor.breakpointsForAllFiles’.
Unrecognized function or variable ‘matlab.internal.docsearchserver.getDocCenterLanguage’.
Unrecognized function or variable ‘connector.internal.lifecycle.callConnectorStarted’.
Unrecognized function or variable ‘fullfile’.
Error occurred during background graphics initialization: Undefined function ‘fullfile’ for input arguments of type ‘char’.
Unrecognized function or variable ‘matlab.supportpackagemanagement.internal.getInstalledSupportPackagesInfo’.
Unable to resolve the name ‘matlab.internal.doc.updateConnectorDocroot’.
Unable to resolve the name ‘matlab.internal.doc.updateCustomDocContent’.
Unable to resolve the name ‘matlab.internal.doc.search.configureSearchServer’.
Unrecognized function or variable ‘matlab.internal.debugger.breakpoints.initBreakpointsStoreInstance’.
Unrecognized function or variable ‘pwd’.
Unrecognized function or variable ‘matlab.unittest.internal.ui.toolstrip.getFileInfoForToolstrip’.
Unrecognized function or variable ‘matlab.internal.codingui.warmupProgrammingAids’.
I attempted to solve this issue by restoring the default pathing and saving it as pathdef.m in the C:Program FilesMATLABR2022atoolboxlocal folder:
restoredefaultpath; matlabrc
savepath C:Program FilesMATLABR2022atoolboxlocalpathdef.m
This would work for the current user I was logged in as, but when I switched to another user the same issue would occur. I can subvert this issue but forcing MATLAB to be run as Administrator upon startup, but this is not ideal for the security levels required on this machine.
I figure this issue has something to do with user permission levels, but I am unsure which files / directories and what persmission settings I should set up for my configuration. Any help would be greatly appreciated! Thank you. Hello folks,
I am trying to install MATLAB as the administrator on a common use Windows 10 machine. This machine has multiple user accounts that will each be using MATLAB from their this source installation.
When MATLAB is opened from the main admin account, there is no issue. However, when MATLAB is opened from any of the other user accounts the following errors are given in the command window:
Previously accessible file "C:Program FilesMATLABR2022atoolboxlocalpathdef.m" is now inaccessible.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this
warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Undefined function ‘usejava’ for input arguments of type ‘char’.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this
warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Warning: Initializing Java preferences failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Unrecognized function or variable ‘initdesktoputils’.
com.mathworks.mvm.exec.MvmExecutionException: internal.matlab.desktop.editor.breakpointsForAllFiles
at com.mathworks.mvm.exec.NativeFutureResult.nativeGet(Native Method)
at com.mathworks.mvm.exec.NativeFutureResult.get(NativeFutureResult.java:62)
at com.mathworks.mvm.exec.FutureResult.getInternal(FutureResult.java:413)
at com.mathworks.mvm.exec.FutureFevalResult.getInternal(FutureFevalResult.java:49)
at com.mathworks.mvm.exec.FutureResult.get(FutureResult.java:263)
at com.mathworks.mlservices.MatlabDebugServices$3.run(MatlabDebugServices.java:978)
at com.mathworks.mvm.exec.NativeFutureResult.callRunnable(NativeFutureResult.java:146)
at com.mathworks.mvm.exec.NativeFutureResult.done(NativeFutureResult.java:138)
Caused by: com.mathworks.mvm.exec.MvmRuntimeException: Unrecognized function or variable ‘internal.matlab.desktop.editor.breakpointsForAllFiles’.
Unrecognized function or variable ‘matlab.internal.docsearchserver.getDocCenterLanguage’.
Unrecognized function or variable ‘connector.internal.lifecycle.callConnectorStarted’.
Unrecognized function or variable ‘fullfile’.
Error occurred during background graphics initialization: Undefined function ‘fullfile’ for input arguments of type ‘char’.
Unrecognized function or variable ‘matlab.supportpackagemanagement.internal.getInstalledSupportPackagesInfo’.
Unable to resolve the name ‘matlab.internal.doc.updateConnectorDocroot’.
Unable to resolve the name ‘matlab.internal.doc.updateCustomDocContent’.
Unable to resolve the name ‘matlab.internal.doc.search.configureSearchServer’.
Unrecognized function or variable ‘matlab.internal.debugger.breakpoints.initBreakpointsStoreInstance’.
Unrecognized function or variable ‘pwd’.
Unrecognized function or variable ‘matlab.unittest.internal.ui.toolstrip.getFileInfoForToolstrip’.
Unrecognized function or variable ‘matlab.internal.codingui.warmupProgrammingAids’.
I attempted to solve this issue by restoring the default pathing and saving it as pathdef.m in the C:Program FilesMATLABR2022atoolboxlocal folder:
restoredefaultpath; matlabrc
savepath C:Program FilesMATLABR2022atoolboxlocalpathdef.m
This would work for the current user I was logged in as, but when I switched to another user the same issue would occur. I can subvert this issue but forcing MATLAB to be run as Administrator upon startup, but this is not ideal for the security levels required on this machine.
I figure this issue has something to do with user permission levels, but I am unsure which files / directories and what persmission settings I should set up for my configuration. Any help would be greatly appreciated! Thank you. matlab, installation MATLAB Answers — New Questions