great demos – app. dep.€¦ · app에서 부터 웹서비스까지 ... package your own app...
TRANSCRIPT
![Page 1: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/1.jpg)
1 © 2013 The MathWorks, Inc.
MATLAB에서 작업한 응용프로그램의 공유 :
App에서 부터 웹서비스까지
Application Engineer
엄 준 상
![Page 2: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/2.jpg)
2
Application Deployment with MATLAB
Group Members
Suppliers
Clients
Collaborators
MATLAB
Author
Organization
![Page 3: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/3.jpg)
3
Te
st &
Ve
rifica
tion
Implementation
Research & Design
Explore and discover
Gain insight into problem
Evaluate options, trade-offs
Test
Design
Elaborate
Application Deployment Process
Requirements
Embedded software and
digital electronics
Algorithms and Applications
for Desktop or Web
MATLAB Excel .NET C/C++
Java .dll .exe
Verilog FPGA PLC C/C++
VHDL PAC
![Page 4: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/4.jpg)
4
Modeling Global Solar Radiation
𝑅𝑠 = 𝑎 (1 + 𝑏𝐻)(1 − 𝑒−𝑐 ∆𝑇𝑛)
Rs: Solar Ratio (global solar radiation/ extraterrestrial solar radiation)
H: Relative humidity
∆𝑇: TDailyMax – TDailyMin
a,b,c,n: Model coefficients
Value of extraterrestrial solar
radiation is calculated for a
given day-of-year and latitude
using a known formula
Daily temperature variations are largely
driven by solar radiation received at the surface
extraterrestrial
radiation
total global
radiation
![Page 5: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/5.jpg)
5
Desktop Applications – MATLAB App and
Standalone Executable Solar Analysis Application
![Page 6: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/6.jpg)
6
Packaging and Sharing MATLAB Apps
MATLAB apps
– Interactive applications to perform
technical computing tasks
– Displayed in apps gallery
Included in many MATLAB products
Package your own app
– Create single file for distribution
and installation into gallery
– Packaging tool:
Automatically includes all necessary files
Documents required products
![Page 7: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/7.jpg)
7
MATLAB Desktop
End-User Machine
1
2
3
Toolboxes
Deploying Applications with MATLAB
MATLAB Compiler
.exe .exe
![Page 8: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/8.jpg)
8
MATLAB Components – Add-In for Excel Solar Analysis Spreadsheet
![Page 9: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/9.jpg)
9
3
Deploying MATLAB Components
Create MATLAB application
Build component
– MATLAB Compiler™
– MATLAB Builder™ JA
– MATLAB Builder™ NE
Deploy against MATLAB
Compiler Runtime (MCR)
– One per process
– Loaded in-process
– Single threaded
– Thread safe
MATLAB
Component
MATLAB Builder JA
MATLAB Builder NE
MATLAB Compiler 2
Toolboxes 1
![Page 10: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/10.jpg)
10
Web Deployment - MATLAB Builder NE Energy Forecast Model
![Page 11: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/11.jpg)
11
MATLAB Production Server™
Directly deploy MATLAB programs into production
– Centrally manage multiple MATLAB programs & MCR versions
– Automatically deploy updates without server restarts
Scalable & reliable
– Service large numbers of concurrent requests
– Add capacity or redundancy with additional servers
Use with web, database & application servers
– Lightweight client library isolates MATLAB processing
– Access MATLAB programs using native data types
MATLAB Production Server(s)
HTML
XML
Java Script Web
Server(s)
![Page 12: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/12.jpg)
12
What is MATLAB Production Server?
Enterprise class framework for running packaged MATLAB programs
Server software
– Manages packaged MATLAB programs & worker pool
Runtime libraries
– MATLAB Compiler™ Runtime (MCR)
Lightweight client library (for .NET & Java)
– Request MATLAB programs (functions)
.NET
MATLAB Production Server
Request
Broker
&
Program
Manager
![Page 13: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/13.jpg)
13
MATLAB Production Server - Example
Web
Server
Application
Server
Database/Historian Server
Energy
Pricing
Predictive
Analytics
Asset
Monitoring
MATLAB Production Server
MATLAB
Compiler
Web Applications
- web browser
- web services
Desktop Applications
- custom applications
- standard (Excel)
Batch Applications
![Page 14: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/14.jpg)
14
Web Application - MATLAB Production Server Asset Allocation
![Page 15: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/15.jpg)
15
Web Application - MATLAB Production Server Asset Allocation
![Page 16: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/16.jpg)
16
Desktop Application
- MATLAB Production Server Asset Allocation
![Page 17: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/17.jpg)
17
Desktop Application
- MATLAB Production Server Asset Allocation
![Page 18: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/18.jpg)
18
Java Excel .NET Web
Deploying Algorithms and Applications
Give MATLAB code
to other users – MATLAB apps
– MATLAB files
Share applications
with end users who
do not need MATLAB
– Stand-alone
executables
– Shared libraries
– Software components
.exe .dll
.lib
MATLAB Compiler
MATLAB Builder NE
MATLAB Builder EX
MATLAB Builder JA
Royalty-free distribution
![Page 19: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:](https://reader034.vdocuments.mx/reader034/viewer/2022051914/60056dcb7dc594509902c255/html5/thumbnails/19.jpg)
19 © 2013 The MathWorks, Inc.
MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks.
Other product or brand names may be trademarks or registered trademarks of their respective holders.”