What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink:...
Transcript of What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink:...
![Page 1: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/1.jpg)
1© 2015 MathWorks GmbH
What’s New in MATLAB and Simulink
Dr. Mohamed Anas
Manager, Applications Engineering Group
June 09, 2015
![Page 2: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/2.jpg)
2
Imagine making your applications run
faster than you ever thought possible!
![Page 3: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/3.jpg)
3
Imagine stepping forward
through a simulation
![Page 4: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/4.jpg)
4
Imagine stepping forward
and back
through a simulation
![Page 5: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/5.jpg)
5
VisualizationCollaboration
Usability
Scalability
![Page 6: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/6.jpg)
6
VisualizationCollaboration
Usability
Scalability
![Page 7: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/7.jpg)
7
Where is MATLAB and Simulink Today?Usability
![Page 8: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/8.jpg)
8
Connecting to and Targeting Hardware
Target Low Cost Hardware
Simulink Hardware
Support Packages
iPhone
Data I/O
Ethernet, USB, Bluetooth
MATLAB Hardware
Support Packages
Low Cost Hardware
Arduino
Lego EV3
Android SensorsGet Support Package Now
Host Computer
MATLAB and
Simulink
Models
Usability
![Page 9: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/9.jpg)
9
MATLAB: Importing Data
Import Tool
– Interactive import of delimited and fixed-width text files
– Provides improved handling of numbers, text, and dates
– Automatically generate MATLAB code
(scripts and functions) to automate the process
Access online data (webread)
– JSON, CSV, and image data
Read and write data fromnetwork-connected devices (tcpclient)
Usability
![Page 10: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/10.jpg)
10
MATLAB: New Fundamental Data Types
table
– For mixed-type tabular data
– Supports flexible indexing
– Built-in functionality (merge, sort, etc.)
categorical arrays
– For discrete non-numeric data
Values drawn from a finite set of
possible values ("categories”)
– Can be compared using
logical operators
Similar to numeric arrays
Usability
![Page 11: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/11.jpg)
11
Where is MATLAB and Simulink Today?Usability
![Page 12: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/12.jpg)
12
Simulink: Accelerate Model BuildingSmart Editing Cues
Usability
![Page 13: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/13.jpg)
13
Simulink: Comment Out and Comment Through
Signal passes through the block
during simulation
Comment out option remains available
Works on blocks with the same
number of inputs and outputs
Comment a block so that the
output equals the input
Usability
![Page 14: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/14.jpg)
14
VisualizationCollaboration
Usability
Scalability
![Page 15: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/15.jpg)
15
New Graphics System Overview
New look
– New default colormap and line colors
– Anti-aliased fonts and lines
– Subtler grid lines
Easier to customize
– Graphics objects now behave
like other MATLAB objects
– Support dot-notation to
access and change properties
Data easier to interpret
Visualization
![Page 16: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/16.jpg)
16
New Graphics System
Multilingual text and symbols
Automatic updating of datetime tick labels
New visualization functions
– histogram
– animatedline
Multiple colormaps per figure
Rotatable tick labels
User interfaces with tab panels
Visualization
![Page 17: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/17.jpg)
17
MATLAB: Date and Time ArraysVisualization
![Page 18: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/18.jpg)
18
Simulink: Better Simulation Data AnalysisNew Simulation Data Inspector
Visualization
![Page 19: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/19.jpg)
19
Simulink: Tune and Monitor Your SimulationsNew graphical controls and displays
Visualization
![Page 20: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/20.jpg)
20
VisualizationCollaboration
Usability
Scalability
![Page 21: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/21.jpg)
21
Memory and Data Access
64-bit processors
Memory Mapped Variables
Disk Variables
Databases
Datastores
Platforms
Desktop (Multicore, GPU)
Clusters
Cloud Computing (MDCS on EC2)
Hadoop
Programming Constructs
Streaming
Block Processing
Parallel-for loops
GPU Arrays
SPMD and Distributed Arrays
MapReduce
Data Capabilities in MATLABScalability
![Page 22: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/22.jpg)
22
Simulink: Performance AdvisorScalability
![Page 23: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/23.jpg)
23
Simulink: Faster Consecutive SimulationsFast Restart
Scalability
![Page 24: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/24.jpg)
24
Stateflow: Start Simulation FasterJust-In-Time Compilation
Scalability
![Page 25: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/25.jpg)
25
VisualizationCollaboration
Usability
Scalability
![Page 26: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/26.jpg)
26
MATLAB and Simulink: Managing Code and ModelsSource Control Integration
Manage code from MATLAB
Desktop and Simulink Projects
Leverage source control
capabilities
– Git and Subversion integration
in Current Folder browser
Use Comparison Tool to view and
merge changes between revisions
Collaboration
![Page 27: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/27.jpg)
27
Simulink: Sharing Projects
Make project publicly available on GitHub
Share your project via email
Package project as a MATLAB toolbox
Share a project on GitHub® via e-
mail or as a MATLAB Toolbox
Collaboration
![Page 28: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/28.jpg)
28
App and Toolbox Packaging
Package your app or 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
Collaboration
![Page 29: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/29.jpg)
29
Simulink Data Dictionary
Componentization
Scalability and performance
Requirements linking
Change tracking and differencing
Defined model-data relationship
Integration with Simulink Projects
Store, edit and access design
data using the data dictionary
Simulink
Model 1
Model 2
Model 3
SLX
FileSLX
FileSLX
File
SLDD
FileSLDD
FileSLDD
FileGlobal Data
Collaboration
![Page 30: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/30.jpg)
30
Concluding Remarks
Methods for improving ease-of-use
during the design process
Convey information in a universal
manner and make it simple to share
“Scale up” and “Scale out”
Work together to a common purpose to
achieve business benefits
![Page 31: What’s New in MATLAB and Simulink - MathWorks · Smart Editing Cues Usability. 13 Simulink: Comment Out and Comment Through Signal passes through the block during simulation Comment](https://reader034.fdocuments.in/reader034/viewer/2022050502/5f941a0619cc1d6f4a0b764b/html5/thumbnails/31.jpg)
31
VisualizationCollaboration
Usability
Scalability