Before starting, you will need the following:
You are responsible for the cost of the AWS services used when you create cloud resources using this guide. Resource settings, such as instance type, will affect the cost of deployment. For cost estimates, see the pricing pages for each AWS service you will be using. Prices are subject to change.
The following guide will help you automate the process of running the MATLAB desktop on Amazon Web Services using a Linux virtual machine and connect to it using the Remote Desktop Protocol (RDP). The automation is accomplished using an AWS CloudFormation template. The template is a JSON file that defines the resources needed to run MATLAB on AWS. For information about the architecture of this solution, see Architecture and Resources. For information about templates, see AWS CloudFormation Templates.
The MATLAB Reference Architecture is released in lockstep with the bi-annual MATLAB releases.Each reference architecture release has its own instructions as we continue to evolve it.Select a release to continue:
Linux | Windows |
---|---|
R2021b | |
R2021a | R2021a |
R2020b | R2020b |
R2020a | |
R2019b | |
R2019a_and_older |
Deploying this reference architecture sets up a single AWS EC2 instance containing Linux and MATLAB, a private VPC with an internet gateway, a private subnet and a security group that opens the appropriate ports for SSH and RDP access.
To make deployment easy, we have prepared an Amazon Machine Image (AMI) running Ubuntu with pre-installed drivers. The AMI contains the following software:
The following resources will be created as part of the CloudFormation Stack:
All your files and changes are stored locally on the virtual machine. They will persist until you either terminate the virtual machine instance or delete the stack. Stopping the instance does not destroy the data on the instance. If you want your changes to persist outside the stack or before you terminate an instance, you’ll need to:
You may want to shut down the instance when you aren’t using it to save some money (you only pay for the storage used by the virtual machine when it is stopped). To shut down an EC2 instance, locate it in the AWS web console, select the instance and choose “Instance State/Stop” from the “Actions” menu. You can restart it from the same menu. Any files or changes made to the virtual machine will persist when shutting down and will be there when you restart. A side-effect of shutting down the virtual machine and restarting is that the public IP address and DNS name may change. Inspecting the EC2 instance in the AWS console will reveal the new IP address and DNS name.
To avoid having to change the IP address between restarts, you can establish a static IP using AWS Elastic IP Address. For more information, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html.
To save a VM image, locate the EC2 Instance in the AWS web console and select Actions > Image > Create Image.
You can copy the AMI for a certain MATLAB version to a target region of your choice.
You can now deploy the AMI in your target region using the AMI that you copied.
You can customize a VM image by launching the reference architecture, applying any changes you want to the EC2 Instance (such as installing additional software, drivers, and files), and then saving an image of that instance using the AWS Console. For more information, see How Do I save a VM image?. When you create a stack, replace the AMI ID in the CloudFormation template with the AMI ID of your customized image.
The VM image uses MathWorks Hosted License Manager by default. For information on how to use other license managers, see MATLAB Licensing in the Cloud.
If you require assistance or have a request for additional features or capabilities, please contact MathWorks Technical Support.
目录 前言 几个高频面试题目 1.新异类和异常值检测的区别 (1) 新奇检测
最近在使用matlab计算单模光纤纤芯模及包层模模场分布时,有一些问题一直悬而未决,多次咨询原作者后虽解决了部分问题,但是余下的问题原作者也不理我了,特发此贴以广交学习光纤方面的同学、老师及科研人员,希望大家互相学习,互相交流,共同探讨,共同进步。 首先,求解单模光纤纤芯模特征方程,光纤为Corning SMF-28,具体参数见以下代码,参考文献为: % [1]. Optical Fibre Wa
在使用到MCR时,发现Matla Runtime R2017b在Centos7.5.1804版本中是会报错的,报错信息如: ------------------------------------------------------------------------ std::terminate() detected at Mon Dec 10 08:40:05 2018 -
clc;clear all;close all; aa=load('data.txt'); lat=aa(:,2); lon=aa(:,1); height=aa(:,3); [X1 Y1] = meshgrid(115.4:0.03:117.4,39.5:0.03:41); [X,Y,Z] = griddata(lon,lat,height,X1,Y1); figure(1); ma=shape
新特性简要介绍 一、实时编辑器 所创建的脚本不仅可以捕获代码,还可以讲述与人分享的故事。自动化的上下文提示可让您在编程时快速推进,并且将结果与可视化内容和您的代码一起显示。 二、App Designer App Designer 让您无需成为专业的软件开发人员,即可创建专业的应用程序。拖放可视化组件来安排应用程序布局,并使用集成编辑器快速编写应用程序的行为。您可以使用 MATLAB Compile
MATLAB on Microsoft Azure Requirements Before starting, you will need the following: A MATLAB® license. For more information, see MATLAB Licensing in the Cloud. A MathWorks Account. A Microsoft Azure
MATLAB是矩阵实验室(Matrix Laboratory)的简称,是美国MathWorks公司出品的商业数学软件,用于算法开发、数据可视化、数据 分析以及数值计算的高级技术计算语言和交互式环境,主要包括MATLAB和Simulink两大部分。 MATLAB和Mathematica、Maple并 称为三大数学软件。它在数学类科技应用软件中在数值计算方面首屈一指。MATLAB可以进行矩阵运算、绘
MATLAB code for reading and writing CIFTI files, v2 This library is compatible with the CIFTI-2 format, withoutexternally installed dependencies (except that CIFTI-1 files requirewb_command for conver
Zaf-Matlab Zafar's Audio Functions in Matlab for audio signal analysis. Files: zaf.m: Matlab class with the audio functions. examples.ipynb: Jupyter notebook with some examples. audio_file.wav: audio
BIDS for MATLAB / Octave This repository aims at centralising MATLAB/Octave tools to interact with datasets conforming to the BIDS (Brain Imaging Data Structure) format. For more information about BID
REPET-Matlab REPeating Pattern Extraction Technique (REPET) in Matlab for audio source separation. Repetition is a fundamental element in generating and perceiving structure. In audio, mixtures are of