MathWorks - Mobile View
  • Melden Sie sich bei Ihrem MathWorks Konto anMelden Sie sich bei Ihrem MathWorks Konto an
  • Access your MathWorks Account
    • Eigener Account
    • Mein Community Profil
    • Lizenz zuordnen
    • Abmelden
  • Produkte
  • Lösungen
  • Forschung und Lehre
  • Support
  • Community
  • Veranstaltungen
  • MATLAB erhalten
MathWorks
  • Produkte
  • Lösungen
  • Forschung und Lehre
  • Support
  • Community
  • Veranstaltungen
  • MATLAB erhalten
  • Melden Sie sich bei Ihrem MathWorks Konto anMelden Sie sich bei Ihrem MathWorks Konto an
  • Access your MathWorks Account
    • Eigener Account
    • Mein Community Profil
    • Lizenz zuordnen
    • Abmelden

Videos und Webinare

  • MathWorks
  • Videos
  • Videos Homepage
  • Suche
  • Videos Homepage
  • Suche
  • Vertrieb kontaktieren
  • Testsoftware
  Register to watch video
  • Description
  • Full Transcript
  • Related Resources

Getting Started: Standalone Applications Using MATLAB Compiler

Chetan Rawal, MathWorks

Package MATLAB® programs as standalone applications using MATLAB Compiler™. Share these applications royalty-free with users who do not have MATLAB.

In this video, we show how you can create Standalone Applications from your MATLAB programs by using MATLAB Compiler. You can share these applications with users who do not need to modify the underlying code. This application, for example, does not need MATLAB installed to run it. You can load custom files, get an audio response when you click on this button, and also get a visual output, thanks to MATLAB graphics.

But before we can use the application, we need to design it in MATLAB. You will use the guide feature in MATLAB to build this SUI, along with some MATLAB programming to do the back-end computation. To be able to share this application such that it runs without the need of a MATLAB installation, you can use the MATLAB Compiler add-on product.

Open the Application Compiler that is inside the MATLAB Apps Gallery. Within this interface, you pick the main MATLAB file that you created for programming your application. Once you pick the main file, MATLAB Compiler automatically recognizes some file dependencies, like MATLAB functions being used in the main program, and the FIG file needed for the user interface. I can add some user specific data through a MAT file, which is essentially a basic MATLAB file type used to store MATLAB variables and objects.

Next, you have options like choosing an icon, and a splash screen that shows up when the user of your application is installing it on their machine. More options here allow you to add additional customizations, such as version number and author information. Once you are all set with the customizations, you have the option to package in the Automatic Installer for MATLAB Runtime Libraries. The applications will use these front time libraries to run on the target machine, instead of requiring an installation of MATLAB.

You can either leave this option to the default download from Web Option, or it can add MATLAB runtime libraries with the package by choosing this other option. MATLAB Runtime is a onetime installation, so the application setup will skip this installation if it finds the right libraries already installed on the computer. Having said all the options, we can now package this application to create a shareable file. Once the packaging is complete, you'll see a far redistribution folder created for you. Inside this folder, there is this single setup file that you can share with your users or colleagues who do not have MATLAB.

On your user's computer, executing this setup file brings up the application installer with the splash screen we had picked. Once the installation is complete, the application appears in the programs list and runs like any other program without needing MATLAB. To summarize, you start by creating your application in MATLAB. Then use the MATLAB Compiler to create an installer that can be shared with your users. On the user's machine, the installer will automatically install the application, along with the runtime libraries that it needs to run with.

To learn more about the MATLAB Compiler, please visit the product web page on mathworks.com, or choose a link below.

Related Products

  • MATLAB Compiler

Feedback

Featured Product

MATLAB Compiler

  • Request Trial
  • Get Pricing

Up Next:

3:19
Getting Started: Excel Add-ins Using MATLAB Compiler

Related Videos:

2:23
What Is MATLAB Compiler?
26:14
Sharing and Deploying MATLAB Applications
2:28
Using Application Deployment to Share Your MATLAB Programs
23:23
RWE AG Integrates a MATLAB Based Energy Pricing Engine with...

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

Select web site

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Vertrieb kontaktieren
  • Testsoftware

Produkte

  • MATLAB
  • Simulink
  • Software für Studierende
  • Hardware-Unterstützung
  • File Exchange

Testen oder Kaufen

  • Downloads
  • Testsoftware
  • Vertrieb kontaktieren
  • Preise und Lizenzierung
  • Store

Lernen

  • Dokumentation
  • Tutorials
  • Beispiele
  • Videos und Webinare
  • Schulungen

Support

  • Hilfe zur Installation
  • Antworten
  • Consulting
  • License Center
  • Support kontaktieren

Über MathWorks

  • Jobs & Karriere
  • Newsroom
  • Social Mission
  • Vertrieb kontaktieren
  • Über MathWorks

MathWorks

Accelerating the pace of engineering and science

MathWorks ist der führende Entwickler von Software für mathematische Berechnungen für Ingenieure und Wissenschaftler.

Entdecken Sie…

  • Select a Web Site United States
  • Patente
  • Handelsmarken
  • Datenschutz
  • Datendiebstahl verhindern
  • Status von Anwendungen

© 1994-2021 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Folgen Sie uns