I have directories written in Chinese Characters, all of the files I save there fail to load.

6 visualizaciones (últimos 30 días)
I have my academic files stored in a root I named in mandarin back when I was learning Chinese, they wont load, and I am almost 100% sure it's because it cant process those characters. I'll be precise with my wording.
I have a file directory from which I have saved an mfile I am attempting to double click and launch matlab with it. More specifically I want MatLab to be able to save files to and call files from these places.
Here is a copy of a file path:
Z:\学校\2016-2017\Fall 2016\Statics\SheerF.m
I have many more such paths dating back to 2012-2013 Academic year all stored in this location on my home NAS. I sync them for offline use and when im connected to wifi all my files across all my devices are at this one place.
When I double click it for launch it gives an error, and shows me that it's reading the path like this: (notice "??")
Z:\??\2016-2017\Fall 2016\Statics\SheerF.m
Thus it must be The two Chinese Characters causing the fuss. Ordinarily I would simply rename that to ts translation "School", however I'm faced with a dilemma, for each of my classes, I have saved half a decade worth of OneNote, and Autodesk Files, and TiNspire files and more, things I use all the time. It would be a huge mess if I simply change that one thing.
inst there a simple way to do this, something like a patch that will give Mat-Lab the ability to process foreign characters?

Respuestas (1)

Ankita Nargundkar
Ankita Nargundkar el 6 de Mzo. de 2017
Make sure both the user and the system Locale Settings in Windows are set to Chinese. MATLAB requires that they are the same.
The user settings can be found by going to:
|Start->Control Panel->Regional and Language Options- >Regional Options|
Set the dropdown box appropriately. The system settings are in the "Advanced" tab of the same window.
You will probably have to restart your computer for any changes to take effect.

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by