19
1 © 2013 The MathWorks, Inc. MATLAB에서 작업한 응용프로그램의 공유 : App에서 부터 웹서비스까지 Application Engineer

Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Great Demos – App. Dep.€¦ · App에서 부터 웹서비스까지 ... Package your own app –Create single file for distribution and installation into gallery –Packaging tool:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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.”