How to launch a MATLAB app from my browser using custom URL scheme and plist on MATLAB R2024a?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 13 Dez. 2024
Bearbeitet: MathWorks Support Team
am 2 Jan. 2025
I have an app designed by App Designer and compiled by MATLAB Compiler. I want to launch this app from my browser using custom URL scheme and plist. However, the app was not launched when I tried to follow the steps below:
1.Set up URL Schemes
a. Find my URL Scheme: Check the app’s documentation or developer website to find its custom URL scheme.
b. Create a URL: Format a URL using the scheme with
myapp://open
c. Use the URL in a Browser: Enter the URL in the address bar of my browser.
2. Set up Universal Links
a. Create or Get a Universal Link
b. Use the Universal Link: Enter the link in the browser. If the app is set up to handle it, it should open.
3. Set up Custom URL Handlers
a. Check the documentation and find the specific URL pattern or handler my app uses.
b. Enter the URL in my browser
4. Set Up Web-to-App Interaction
Specific to my applications, follow the specific instructions provided by the service or app for creating and using these links.
How do I launch this app from my browser?
Akzeptierte Antwort
MathWorks Support Team
am 2 Jan. 2025
As of MATLAB R2024b, we do not have a documented workflow using custom URL scheme and plist to launch your app from your browser.
The standard way to programmatically launch a standalone app would be using the command line. However, in general, you may be unable to do this in HTML. Letting HTML run command-line commands may be a major security risk. If you want to use a custom URL scheme specifically, we do not have official support for it. You may be able to create some wrappers for handling this that then call the standalone app, but this will be fully outside of MathWorks products.
However, to work around this issue, you can try MATLAB Web App Server. You may host them using MATLAB Web App Server. Your end-users can access and run the web apps using a browser without installing additional software. It has different interfaces. The app will be run from the browser on the Web App Server instead of your local machine so that file access may differ.
The MATLAB Web App Server home page displays the available applications and allows a user to select one that is launched in a separate tab. For example, you may embed webapp applications in other pages by using an "iframe".
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Web Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!