matlab intrinsic function call fails with "Invalid text character" error
Show older comments
I have recently installed MATLAB and I get the following error with some of MATLAB intrinsic functions, such as the following:
usejava('desktop')
Error: File: system_dependent.m Line: 1 Column: 24
Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters.
What is the source of this error and how can it be resolved?
6 Comments
Steven Lord
on 15 May 2020
What does this command display?
which -all system_dependent
If it too throws an error try:
builtin('which', '-all', 'system_dependent')
Walter Roberson
on 15 May 2020
try
restoredefaultpath; rehash toolboxcache
if that improves the problem then savepath
A.B.
on 15 May 2020
A.B.
on 15 May 2020
Walter Roberson
on 15 May 2020
Use your system file explorer to find system_dependent.m looking first under your own files and then under the MATLAB installation directory. What do you find?
Basically, you should not find any system_dependent.m as it is an undocumented built-in function.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!