Why AdditionalPaths of batch() do not work on Web-App-Sever / Parallel Server
4 views (last 30 days)
I have an issue with 'AdditionalPaths' of the batch command. When the program runs in the appDesigner of my normal Matlab, the command works well and the worker find the code which is located in a specified path on the parallelServer and not in the default search path.
If the app is deployed as CTF and run on the webServer this does not work anymore.
Error message: Warning: Previously accessible file "C:\Data\...\*m" is now inaccessible.
The full code is to big to send it everytime from the webServer to the parallelServer.
job = batch(c,@file2run,0, ...
'CurrentFolder' , '.');
Sam Marshalik on 15 Nov 2021
Hey Olaf, is this the workflow you are trying to set up: You created an app in Appdesigner which submits a batch job to MATLAB Parallel Server. You now want to make that app accessible via MATLAB Web App Server to others in a web browser. The MATLAB Web App Server app will submit a batch job to MATLAB Parallel Server and act as a front end?
Can you verify that the batch job (coming from MATLAB Web App Server) is being submitted to a MATLAB Parallel Server cluster (using the right profile) and that, that path exists on the MATLAB Parallel Server side?
Also, are you able to comment on the motivation behind connecting these two products together? Curious about the usecase.