sharing and deploying matlab programs · share with other matlab users share with people who do not...
TRANSCRIPT
![Page 1: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/1.jpg)
1© 2015 The MathWorks, Inc.
Sharing and Deploying MATLAB Programs
Dr. Harald Brunnhofer
![Page 2: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/2.jpg)
2
Data Analytics Workflow
Data Analytics
Smart Connected Systems
Business Systems
Analytics Integration Data Acquisition
MATLAB: Single Platform
![Page 3: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/3.jpg)
3
Challenges
§ How to share MATLAB algorithms with multiple internal and external consumers– Both MATLAB users and non-MATLAB users
§ Challenging and time consuming to re-code MATLAB algorithms for integration into IT frameworks– Development resources are scarce and time-to-market is short
§ Difficult to migrate solutions to enterprise scale web or cloud frameworks– Scale application to serve large numbers of simultaneous requests
![Page 4: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/4.jpg)
4
MATLAB Programs Can be Shared With Anyone
Share With Other MATLAB Users Share With People Who do Not Have MATLAB
![Page 5: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/5.jpg)
5
Share with MATLAB Users
§ Directly share MATLAB files§ Package Entire Toolboxes§ Package an App
MATLAB
AppsFiles
.mltbx
Custom Toolbox
![Page 6: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/6.jpg)
6
MATLAB Programs Can be Shared With Anyone
Share With Other MATLAB Users Share With People Who do Not Have MATLAB
![Page 7: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/7.jpg)
7
Share with People Who Do Not Have MATLAB
C/C++ExcelAdd-in JavaHadoop .NET
MATLABCompiler
MATLABProduction
Server
StandaloneApplication
MATLABCompiler SDK
Python
Share Applications with No Additional Programming
Integrate MATLAB-based Components With Your Own Software
• Royalty-free Sharing
• IP Protection via Encryption
![Page 8: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/8.jpg)
8
Application Author
End User
1
2
Share Applications Built Completely in MATLAB
MATLAB
ExcelAdd-in HadoopStandalone
Application
Toolboxes
MATLAB Compiler
MATLABRuntime3
![Page 9: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/9.jpg)
9
1
2
Integrate MATLAB-based Components With Your Own Software
MATLABToolboxes
MATLABRuntime
Application Author
Software Developer
43C/C++
Java
.NETMATLAB
ProductionServer
Python
MATLAB Compiler SDK
![Page 10: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/10.jpg)
10
![Page 11: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/11.jpg)
11
MATLAB and MATLAB Production Serveris the easiest and most productive environment to take your enterpriseanalytics or IoT solution from idea to production
Idea Production
![Page 12: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/12.jpg)
12
Why MATLAB Production Server Matters to You
ü MATLAB Production Server allow you to continue to work in the environment that you love
ü No need to learn another programming language
ü MATLAB Production Server integrates with enterprise IT infrastructure
ü MATLAB Production Server integrates MATLAB code into the enterprise IT fabric that you are comfortable with
ü No need to re-code into another programming language
ü Web and cloud friendly architecture
Domain Expert
Solution Architect
![Page 13: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/13.jpg)
13
Scale Up with MATLAB Production Server™
§ Directly deploy MATLAB programs into production– Centrally manage multiple MATLAB programs and runtime
versions– Automatically deploy updates without server restarts– Most efficient path for creating enterprise applications
§ Scalable and reliable– Service large numbers of concurrent requests– Add capacity or redundancy with additional servers
§ Use with web, database and application servers– Lightweight client library isolates MATLAB processing– Access MATLAB programs using native data types
MATLAB Production Server(s)
HTMLXML
Java ScriptWeb
Server(s)
![Page 14: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/14.jpg)
14
Example - Integrating with IT systems
WebServer
ApplicationServer
Database Server
Pricing
RiskAnalytics
PortfolioOptimization
MATLAB Production Server
MATLABCompiler SDK
Web Applications
Desktop Applications
ExcelAdd-in
![Page 15: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/15.jpg)
15
MATLAB
MATLABCompiler SDK
Customer examples: Financial customer advisory service
MATLAB Production Server
RequestBroker
AlgorithmDevelopers
RequestBroker
RequestBroker
o Saved € 2 million annually for an external system
o Quicker implementation of adjustments in source code by the quantitative analysts
o Knowledge + MATLAB = Build your own systems
Global financial institution with European HQ
![Page 16: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/16.jpg)
16
MATLAB
MATLABCompiler SDK
Industrial IoT Analytics on AWS
MATLAB Production Server
RequestBroker
AlgorithmDevelopers
Industrial Equipment• Networked
communication• Embedded sensors• Data reduction
Business Systems
Users
Global industrial equipment manufacturer
![Page 17: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/17.jpg)
17
MATLAB Production Server
RequestBroker
Building Automation IoT Analytics on Azure
Building/HVAC automation control system• Variety of
sensors and controls
• Networked communication
• Data reduction
AzureEventHub
AzureBlob
AzureSQL
MATLAB
MATLABCompiler SDK
AlgorithmDevelopers
Business Systems
Users
Global heavy duty electrical equipment manufacturer
![Page 18: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/18.jpg)
18
Databases
CloudStorage
IoT
Visualization
Web
Custom App
Public Cloud Private Cloud
Technology Stack
Platform
Data Business System
MATLAB Production Server
Analytics
RequestBroker
AzureBlob
MATLABDistributed Computing
Server
![Page 19: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/19.jpg)
19
Development
EnterpriseApplicationDeveloper
Production
MATLABDeveloper
Production Deployment Workflow
MATLAB Production Server
MATLAB Production Server
Deployable Archive
WebApplication
...
Function Call
MATLAB Algorithm
MATLABCompiler SDK
Initial Test Application
Debug Algorithm
Verify data handling and initial behavior
WebApplication
Deployable Archives
Function Calls
![Page 20: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/20.jpg)
20
Develop and Test with MATLAB Compiler SDK
§ Test environment for MATLAB Production Server
§ Test and debug in MATLAB desktop– Details on request transactions– MATLAB debug and profiling with end to end
testing
Application
MATLAB
HTTP
![Page 21: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/21.jpg)
21
Key Takeaways
1. Distribute applications to non-MATLAB users royalty-free.
2. Integrate MATLAB functions into existing workflows and development platforms.
3. Deploy MATLAB applications to service simultaneous user requests enterprise-wide via web or cloud frameworks.
![Page 22: Sharing and Deploying MATLAB Programs · Share With Other MATLAB Users Share With People Who do Not Have MATLAB. 5 ... § Package an App MATLAB Files Apps.mltbx Custom Toolbox. 6](https://reader033.vdocument.in/reader033/viewer/2022042411/5f2915f97f28647c060ae0bc/html5/thumbnails/22.jpg)
22
Online Resources
• Documentation – Create and Share Toolboxes and Package Apps
• Website – Desktop and Web Deployment
• Free White Paper – Building a Website with MATLAB Analytics
• Website – Using MATLAB With Other Programming Languages
• Website – Training Options for MATLABExperience hands-on training on latest product capabilities.