Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop...
Transcript of Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop...
![Page 1: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/1.jpg)
1© 2015 The MathWorks, Inc.
Condividere algoritmi e
applicazioni MATLAB
Simone Lombardi
Application Engineer
MathWorks
![Page 2: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/2.jpg)
2
MATLAB Programs Can be Shared With Anyone
Share With Other MATLAB Users Share With People Who do Not Have MATLAB
![Page 3: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/3.jpg)
3
Write Your Programs Once
Then Share To Different Targets
MATLAB
C/C++ExcelAdd-in JavaHadoop .NET
MATLAB
Compiler
MATLABProduction
Server
StandaloneApplication
MATLAB
Compiler SDK
Apps Files
Custom Toolbox
Python
With MATLAB
Users
With People Who Do
Not Have MATLAB
![Page 4: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/4.jpg)
4
Share with MATLAB Users
Package an App
Package Entire Toolboxes
Directly share MATLAB files
MATLAB
Apps Files
.mltbx
Custom Toolbox
![Page 5: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/5.jpg)
5
App Packaging
Apps are self-contained tools, typically with a
User Interface
Package your app as single installation file
– Easy distribution and installation into the apps
gallery
– Automatically includes all necessary files
– Documents required products
![Page 6: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/6.jpg)
6
![Page 7: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/7.jpg)
7
Custom Toolbox Packaging
Package your toolbox as a single installer file
– Contains all of the code, data, apps,
documentation, and examples
– Checks for dependent files and
automatically includes them
– Documents required products
Included folders and files automatically
appear on path when installed
View details and uninstall toolboxes with
Manage Custom Toolboxes dialog box
![Page 8: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/8.jpg)
8
![Page 9: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/9.jpg)
9
MATLAB Programs Can be Shared With Anyone
Share With Other MATLAB Users Share With People Who do Not Have MATLAB
![Page 10: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/10.jpg)
10
Share with People Who Do Not Have MATLAB
C/C++ExcelAdd-in JavaHadoop .NET
MATLAB
Compiler
MATLABProduction
Server
StandaloneApplication
MATLAB
Compiler SDK
Python
Share Applications Built
Completely in MATLAB
Integrate MATLAB Programs
With Your Own Software
• Royalty-free Sharing
• Intellectual Property Protection via Encryption
![Page 11: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/11.jpg)
11
Application Author
End User
1
2
Share Applications Built Completely in MATLAB
MATLAB
ExcelAdd-in Hadoop
StandaloneApplication
Toolboxes
MATLAB Compiler
MATLAB
Runtime3
![Page 12: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/12.jpg)
12
![Page 13: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/13.jpg)
13
1
2
Integrate MATLAB Programs With Your Own Software
MATLAB
Toolboxes
MATLAB
Runtime
Application Author
Software Developer
43
Application author and software
developer might be same person
C/C++
Java
.NETMATLAB
ProductionServer
Python
MATLAB Compiler SDK
![Page 14: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/14.jpg)
14
![Page 15: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/15.jpg)
15
Scale Up with MATLAB Production Server
Most efficient path for creating enterprise applications
Deploy MATLAB programs into production
– Manage multiple MATLAB programs and versions
– Hot Deployment: Update programs without server restarts
– Reliably service concurrent requests
Integrate with web, database, and application servers
MATLAB Production
Server(s)
Web Server(s)
![Page 16: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/16.jpg)
16
MATLAB Production ServerEnterprise Class Framework For Running Packaged MATLAB Programs
Server software
– Manages packaged MATLAB
programs and worker pool
MATLAB Runtime libraries
– Single server can use runtimes
from different releases
RESTful JSON interface and
lightweight client library (C/C++, .NET,
Python, and Java)
MATLAB Production Server
MATLAB
Runtime
Request Broker
&
Program
ManagerEnterprise
ApplicationRESTful
JSON
Enterprise
Application
MPS Client
Library
![Page 17: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/17.jpg)
17
Example - Integrating with IT systems
Web
Server
Application
Server
Database Server
Pricing
Risk
Analytics
Portfolio
Optimization
MATLAB Production Server
MATLAB
Compiler SDK
Web
Applications
Desktop
Applications
ExcelAdd-in
![Page 18: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/18.jpg)
18
MATLAB Production Server Demos
MATLAB Analytics Running on the Cloud
![Page 19: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/19.jpg)
19
Share with People Who Do not Have MATLAB
Program once, then choose your target:
– Desktop, Web, Enterprise applications
– C++, Java, Python, .NET
Royalty-free distribution
Encryption to protect your IP
![Page 20: Condividere algoritmi e applicazioni MATLAB€¦ · App Packaging Apps are self ... Desktop Applications Excel Add-in. 18 MATLAB Production Server Demos MATLAB Analytics Running on](https://reader036.fdocuments.us/reader036/viewer/2022070916/5fb6e810dc36be6ee00ed755/html5/thumbnails/20.jpg)
20
Online Resources
• Documentation – Create and
Share Toolboxes
• Website – Desktop and Web
Deployment
• Free White Paper – Building a
Website with MATLAB Analytics
• Website – Using MATLAB With
Other Programming Languages