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-
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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:
- Work with Remote Data - MATLAB & Simulink (mathworks.com)
- How to point to folders/files on a remote server in MATLAB? - MATLAB Answers - MATLAB Central (mathworks.com)
- Run Code on Parallel Pools - MATLAB & Simulink (mathworks.com)
- Install the Development Version of MATLAB Web App Server in MATLAB Compiler - MATLAB & Simulink (mathworks.com)
Hope this helps!
Karan Singh Khati