Skip to content
MathWorks - Mobile View
  • MathWorks 계정에 로그인합니다.MathWorks 계정에 로그인합니다.
  • Access your MathWorks Account
    • 내 계정
    • 나의 커뮤니티 프로필
    • 라이선스를 계정에 연결
    • 로그아웃
  • 제품
  • 솔루션
  • 아카데미아
  • 지원
  • 커뮤니티
  • 이벤트
  • MATLAB 받기
MathWorks
  • 제품
  • 솔루션
  • 아카데미아
  • 지원
  • 커뮤니티
  • 이벤트
  • MATLAB 받기
  • MathWorks 계정에 로그인합니다.MathWorks 계정에 로그인합니다.
  • Access your MathWorks Account
    • 내 계정
    • 나의 커뮤니티 프로필
    • 라이선스를 계정에 연결
    • 로그아웃

비디오 및 웨비나

  • MathWorks
  • 비디오
  • 비디오 홈
  • 검색
  • 비디오 홈
  • 검색
  • 영업 담당 문의
  • 평가판 신청
4:17 Video length is 4:17.
  • Description
  • Full Transcript
  • Related Resources

Scaling Test Execution with MATLAB Parallel Server

Learn how to use MATLAB Parallel Server™ to scale test execution with Simulink Test™.

Hello, everyone. This is Travis Near, along with Rong Mi on Simulink Test, and today we will show you how you can improve your testing time by distributing model simulations of your test scenarios. Simulink Test has supported parallel test executions since 2016A using the Parallel Computing Toolbox. With the Parallel Computing Toolbox, the number of MATLAB instances is limited to the number of cores of your machine. To overcome this limitation, in release 2020B, Simulink Test has extended support for MATLAB Parallel Server, where the MATLAB instances are run on clusters and clouds.

Thank you, Travis. In this demo here, I will go through the steps involved in using a cloud cluster on Amazon Web Services. Then using Simulink capacitor for Parallel tester execution. In order to create a cloud cluster, we can click the Parallel button first, and then click create and manage your clusters. In this dialog, we can select the create a cloud cluster. So here, I have already requested data machines, and each machine has two workers. So, totally, I have 16 workers right now.

So, in this Amazon AWS console page we can see this cluster has been created, and all eight machines are up and running. Each machine is associated with a different IP address. Let's come back to MATLAB, we go to the current report. Here, we can confirm, we have 16 workers now. So in test manager here, we can see I have created many test cases. In each test case, we are using this demo model. It is calculating the real speed. And also in this demo model, I change the stop time to 10,000 seconds.

So, we want to run the test in Parallel. We click the parallel button, and then we select the 70 test cases. And then we click the Run. After we hit the Run button, Simulink Test transfers the models to the workers, then runs the simulations. As we have 16 MATLAB instances running in Parallel, 16 simulations start execution at once. And then after they finish, we get the results back to Simulink Test. We can see these simulations are being executed on remote machines with these IP addresses. After the first 16 are done executing, the next 16 automatically start, and this goes on until all 70 simulations are completed. So, let's expand the test case results, and also we can see the simulation details in this simulation metadata section.

Thank you, Rong. Let's look at the execution performance numbers by comparing the serial execution to Parallel Computing Toolbox with six workers and with MATLAB Parallel Server with 16 workers. The x-axis shows the number of tests, and the y-axis shows execution time in minutes. With Serial simulation, 800 tests takes about 138 minutes. With the Parallel Computing Toolbox, the execution time takes about 26 minutes, which is 5.2 times faster than Serial. And with MATLAB Parallel Server, the execution time is 13.6 times faster than Serial, and 2.6 times faster than Parallel Computing Toolbox. These numbers are with 16 workers running in parallel, and you would see additional improvements with an increase to the number of workers using MATLAB Parallel Server.

So, we have shown how Simulink Test can improve your testing time by distributing simulations of test scenarios to MATLAB Parallel Server. Please try connecting your cluster or cloud to Simulink Test to scale your testing. Thank you.

Related Products

  • Simulink Test
  • MATLAB Parallel Server

Learn More

Run Tests Using Parallel Execution

3 Ways to Speed Up Model Predictive Controllers

Read white paper

A Practical Guide to Deep Learning: From Data to Deployment

Read ebook

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper

Deep Learning and Traditional Machine Learning: Choosing the Right Approach

Read ebook

Hardware-in-the-Loop Testing for Power Electronics Control Design

Read white paper

Predictive Maintenance with MATLAB

Read ebook

Electric Vehicle Modeling and Simulation - Architecture to Deployment : Webinar Series

Register for Free

How much do you know about power conversion control?

Start quiz
Related Information
Related Information
Download a free trial

Feedback

Featured Product

Simulink Test

  • Request Trial
  • Get Pricing

Up Next:

1:41
What Is Simulink Test?

Related Videos:

12:06
Setting Up MATLAB Parallel Server with MATLAB Job Scheduler
9:18
Cluster Computing with MATLAB for System Administrators
6:21
Parallel and GPU Computing Tutorials, Part 6: Scaling to...
26:27
Stateflow Tutorials, Part 2: Parallel Execution and Truth...

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

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (简体中文)
  • 中国 (English)

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

  • 영업 담당 문의
  • 평가판 신청

MathWorks

Accelerating the pace of engineering and science

MathWorks는 엔지니어와 과학자들을 위한 테크니컬 컴퓨팅 소프트웨어 분야의 선도적인 개발업체입니다.

활용 분야 …

제품 소개

  • MATLAB
  • Simulink
  • 학생용 소프트웨어
  • 하드웨어 지원
  • File Exchange

다운로드 및 구매

  • 다운로드
  • 평가판 신청
  • 영업 상담
  • 가격 및 라이선스
  • MathWorks 스토어

사용 방법

  • 문서
  • 튜토리얼
  • 예제
  • 비디오 및 웨비나
  • 교육

지원

  • 설치 도움말
  • MATLAB Answers
  • 컨설팅
  • 라이선스 센터
  • 지원 문의

회사 정보

  • 채용
  • 뉴스 룸
  • 사회적 미션
  • 고객 사례
  • 회사 정보
  • Select a Web Site United States
  • 신뢰 센터
  • 등록 상표
  • 정보 취급 방침
  • 불법 복제 방지
  • 애플리케이션 상태
  • 매스웍스코리아 유한회사
  • 주소: 서울시 강남구 삼성동 테헤란로 521 파르나스타워 14층
  • 전화번호: 02-6006-5100
  • 대표자 : 이종민
  • 사업자 등록번호 : 120-86-60062

© 1994-2022 The MathWorks, Inc.

  • Naver
  • Facebook
  • Twitter
  • YouTube
  • LinkedIn
  • RSS

대화에 참여하기