Hi Abhishek,
Because a deployed MATLAB Web App is hosted on a server, functions that use system information have access only to server-side information, not client-side information. In addition, the web app is displayed in a browser window as opposed to a separate figure window. As a result, certain functions and properties behave differently in a deployed web app than on your local system.
So, there are limitations to the use of winopen function in deployed web app. That is why web app is generating error while using winopen.
I couldn’t find alternate function of winopen for your requirements. As possible workaround, you can just ask user to copy path and open it in their windows file explorer.
Hope this will help.