parpool('Processes') 実行時に "Invalid character code sequence detected" が発生する
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
0 votes
Share a link to this question
- parpool('Processes') 実行時に "Invalid character code sequence detected" が発生
- parcluster('Processes') 実行時点でも同様の例外が出るため、プロファイル構造の読み込みそのものが失敗していると考えられます
- 試した対処:
- TEMP, TMP を ASCII フォルダに変更して起動
- AppData\Roaming\MathWorks\MATLAB\R2024b のリセット
- ユーザーアカウントを英数字のみで新規作成して試行
- Windows の UTF-8 ロケール有効化
- MATLAB R2023a → R2023b → R2024b へのアップグレード
- 他のPC(同じユーザー名)では同じ設定で正常動作確認済
Accepted Answer
- matlabrootコマンドでリターンされるMATLABのインストールフォルダーに日本語などが含まれていないでしょうか。
- Processesのクラスタープロファイルに含まれるパスの情報に日本語などが含まれていないでしょうか。MATLABのメニュー「並列」→「クラスターの作成と管理」をクリックして開く「クラスタープロファイルマネージャー」の画面から「Processes」のプロファイルのプロパティをご確認ください。JobStorageLocationやAdditionalPathsに日本語文字がある場合は変更してみてください。
- 過去のジョブファイルのフォルダーの削除をお試しください。「C:\Users\<ユーザー名>\AppData\Roaming\MathWorks\MATLAB\local_cluster_jobs\R2024b」にProcessesプロファイルのジョブファイルが残っている可能性があるので、このフォルダー毎削除をお試しください。
10 Comments
- matlabroot パス:英語・ASCIIパス確認済(C:\Program Files\MATLAB\R2024b)
- JobStorageLocation を C:\Temp\MATLAB_JobStorage に明示設定
- local_cluster_jobs\R2024b のフォルダ削除済
- 新規英数字アカウントでの再試行も実施
- parpool("threads") は正常動作
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)