Clear Filters
Clear Filters

ファイルサーバを遠隔​地においた作業環境を​構築したい。

2 views (last 30 days)
Kazuki
Kazuki on 9 Nov 2023
Answered: Karan Singh on 13 Dec 2023
ソフト(MATLAB等)はローカルPCに、モデルファイルや実行スクリプトは遠隔地のサーバに保存した状態での解析作業環境を検討しています。
作業内容としては、MATLAB, Simulink, Simscape Electrialを中心としたツールボックスでの解析。ソルバの設定は固定ステップ数マイクロ秒~数十マイクロ秒。また、slxpファイル(モデルの保護機能)を多用することを計画しています。
上記の環境・作業で、問題なく作業をすることができるしょうか。ローカルに何かしらのファイルをおかないと作業できない等はございますでしょうか。環境構築上の注意点を教えてください。

Answers (1)

Karan Singh
Karan Singh on 13 Dec 2023
Hi Kazuki,
As I am not a person fluent in Japanese, I have provided you an answer from the translation of your question as-
We are considering an analysis work environment in which the software (MATLAB, etc.) is stored on a local PC, and the model files and execution scripts are stored on a remote server.
The work involved analysis using a toolbox centered around MATLAB, Simulink, and Simscape Electrical. Solver settings are fixed steps ranging from a few microseconds to several tens of microseconds. We also plan to make extensive use of slxp files (model protection functionality).
Can you work in the above environment/work without any problems? Are there any cases where you cannot work without having some files locally? Please tell me what to keep in mind when building the environment.
I will answer your question in English.
Working in a distributed environment where MATLAB is installed on a local machine, and model files and scripts are stored on a remote server, is indeed possible. The areas which can cover your domain can be-
  1. Network Latency: Accessing files over a network can be slower than accessing them locally. If you notice a significant slowdown, you might want to consider copying the files to your local machine before running your scripts and then copying them back to the server afterward.
  2. File Paths: When your scripts refer to files on the server, you'll need to use the appropriate file paths. These paths might be different than what you would use on your local machine.
  3. File Permissions: Make sure to have the necessary permissions to read and write the files on the server. If your scripts need to modify the files, you'll need write access as well as read access.
  4. Version Compatibility: Ensure that the version of MATLAB installed on your local machine is compatible with the version used to create the model files and scripts on the server.
  5. Toolboxes: If your scripts use MATLAB toolboxes, those toolboxes will need to be installed on your local machine. The toolboxes are part of the MATLAB installation and can't be accessed from the server.
  6. Simulink Models and slxp Files: Simulink models and slxp files should work fine when accessed from a server, if you keep the above points in mind.
  7. Parallel Computing: If you're using the Parallel Computing Toolbox to run computations on multiple cores or machines, there are additional considerations. For example, all the machines will need to have access to the server, and they'll all need to have the same version of MATLAB and the necessary toolboxes installed.
Attached below are the documentation links that you may find helpful:
Hope this helps!
Karan Singh Khati

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!