주요 콘텐츠

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

Simulink를 사용한 딥러닝

R2026a
Simulink를 사용한 딥러닝 워크플로 확장

Deep Learning Toolbox™에 포함된 Deep Neural Networks, Python Neural Networks, Deep Learning Layers 블록 라이브러리의 블록을 사용하거나 Computer Vision Toolbox™에 포함된 Analysis & Enhancement 블록 라이브러리의 Deep Learning Object Detector 블록을 사용하여 Simulink® 모델에서 딥러닝 기능을 구현합니다.

Deep Learning Layers 블록 라이브러리를 사용하여 신경망을 표현하는 Simulink 모델을 생성하려면 exportNetworkToSimulink 함수를 사용하십시오.

Simulink의 일부 딥러닝 기능은 MATLAB Function 블록을 사용하는데 이를 위해 지원되는 컴파일러가 필요합니다. 대부분의 플랫폼에서 MATLAB®을 설치할 때 디폴트 C 컴파일러가 제공됩니다. C++ 언어를 사용하는 경우 호환되는 C++ 컴파일러를 설치해야 합니다. 지원되는 컴파일러 목록을 보려면 지원 및 호환되는 컴파일러를 열고 사용자의 운영 체제에 해당하는 탭을 클릭한 다음 Simulink Product Family 표에서 For Model Referencing, Accelerator mode, Rapid Accelerator mode, and MATLAB Function blocks 열로 이동하십시오. 시스템에 MATLAB 지원 컴파일러가 여러 개 설치된 경우 mex -setup 명령을 사용하여 디폴트 컴파일러를 변경할 수 있습니다. 디폴트 컴파일러 변경하기 항목을 참조하십시오.

함수

exportNetworkToSimulinkGenerate Simulink model that contains deep learning layer blocks and subsystems that correspond to deep learning layer objects (R2024b 이후)

블록

모두 확장

Classify blockClassifyClassify data using a trained deep learning neural network
Predict blockPredict훈련된 딥러닝 신경망을 사용하여 응답 변수 예측
Stateful Classify blockStateful ClassifyClassify data using a trained deep learning recurrent neural network
Stateful Predict blockStateful PredictPredict responses using a trained recurrent neural network
Deep Learning Object Detector blockDeep Learning Object Detector훈련된 딥러닝 객체 검출기를 사용하여 객체 검출
TensorFlow Model Predict Block IconTensorFlow Model PredictPredict responses using pretrained Python TensorFlow model (R2024a 이후)
PyTorch Model Predict Block IconPyTorch Model PredictPredict responses using pretrained Python PyTorch model (R2024a 이후)
ONNX Model Predict Block IconONNX Model PredictPredict responses using pretrained Python ONNX model (R2024a 이후)
Custom Python Model Predict Block IconCustom Python Model PredictPredict responses using pretrained custom Python model (R2024a 이후)
Clipped ReLU Layer blockClipped ReLU LayerClipped Rectified Linear Unit (ReLU) layer (R2024b 이후)
GELU Layer blockGELU LayerGaussian error linear unit (GELU) layer (R2024b 이후)
Leaky ReLU Layer blockLeaky ReLU LayerLeaky rectified linear unit (ReLU) layer (R2024b 이후)
PReLU Layer blockPReLU LayerParameterized rectified linear unit (PReLU) layer (R2026a 이후)
ReLU Layer blockReLU LayerRectified linear unit (ReLU) layer (R2024b 이후)
Sigmoid Layer blockSigmoid LayerSigmoid layer (R2024b 이후)
Softmax Layer blockSoftmax LayerSoftmax layer (R2024b 이후)
Swish Layer blockSwish LayerSwish layer (R2026a 이후)
Tanh Layer blockTanh LayerHyperbolic tangent (tanh) layer (R2024a 이후)
Addition Layer blockAddition LayerAddition layer (R2024b 이후)
Concatenation Layer blockConcatenation LayerConcatenation layer (R2024b 이후)
Depth Concatenation Layer blockDepth Concatenation LayerDepth concatenation layer (R2024b 이후)
Multiplication Layer blockMultiplication LayerMultiplication layer (R2024b 이후)
Convolution 1D Layer blockConvolution 1D Layer1-D convolutional layer (R2024b 이후)
Convolution 2D Layer blockConvolution 2D Layer2-D convolutional layer (R2024b 이후)
Convolution 3D Layer blockConvolution 3D Layer3-D convolutional layer (R2024b 이후)
Fully Connected Layer blockFully Connected LayerFully connected layer (R2024b 이후)
Rescale-Symmetric 1D blockRescale-Symmetric 1D1-D input layer with rescale-symmetric normalization (R2024b 이후)
Rescale-Symmetric 2D blockRescale-Symmetric 2D2-D input layer with rescale-symmetric normalization (R2024b 이후)
Rescale-Symmetric 3D blockRescale-Symmetric 3D3-D input layer with rescale-symmetric normalization (R2024b 이후)
Rescale-Zero-One 1D blockRescale-Zero-One 1D1-D input layer with rescale-zero-one normalization (R2024b 이후)
Rescale-Zero-One 2D blockRescale-Zero-One 2D2-D input layer with rescale-zero-one normalization (R2024b 이후)
Rescale-Zero-One 3D blockRescale-Zero-One 3D3-D input layer with rescale-zero-one normalization (R2024b 이후)
Zerocenter 1D blockZerocenter 1D1-D input layer with zerocenter normalization (R2024b 이후)
Zerocenter 2D blockZerocenter 2D2-D input layer with zerocenter normalization (R2024b 이후)
Zerocenter 3D blockZerocenter 3D3-D input layer with zerocenter normalization (R2024b 이후)
Zscore 1D blockZscore 1D1-D input layer with zscore normalization (R2024b 이후)
Zscore 2D blockZscore 2D2-D input layer with zscore normalization (R2024b 이후)
Zscore 3D blockZscore 3D3-D input layer with zscore normalization (R2024b 이후)
Batch Normalization Layer blockBatch Normalization LayerBatch normalization layer (R2024b 이후)
Instance Normalization Layer blockInstance Normalization LayerInstance normalization layer (R2026a 이후)
Layer Normalization Layer blockLayer Normalization LayerLayer normalization layer (R2024b 이후)
Inverse Zerocenter blockInverse ZerocenterInverse zero-center normalization (R2026a 이후)
Inverse Zscore blockInverse ZscoreInverse Z-score normalization (R2026a 이후)
Average Pooling 1D Layer blockAverage Pooling 1D Layer1-D average pooling layer (R2024b 이후)
Average Pooling 2D Layer blockAverage Pooling 2D Layer2-D average pooling layer (R2024b 이후)
Average Pooling 3D Layer blockAverage Pooling 3D Layer3-D average pooling layer (R2024b 이후)
Global Average Pooling 1D Layer blockGlobal Average Pooling 1D Layer1-D global average pooling layer (R2024b 이후)
Global Average Pooling 2D Layer blockGlobal Average Pooling 2D Layer2-D global average pooling layer (R2024b 이후)
Global Average Pooling 3D Layer blockGlobal Average Pooling 3D Layer3-D global average pooling layer (R2024b 이후)
Global Max Pooling 1D Layer blockGlobal Max Pooling 1D Layer1-D global max pooling layer (R2024b 이후)
Global Max Pooling 2D Layer blockGlobal Max Pooling 2D Layer2-D global max pooling layer (R2024b 이후)
Global Max Pooling 3D Layer blockGlobal Max Pooling 3D Layer3-D global max pooling layer (R2024b 이후)
Max Pooling 1D Layer blockMax Pooling 1D Layer1-D max pooling layer (R2024b 이후)
Max Pooling 2D Layer blockMax Pooling 2D Layer2-D max pooling layer (R2024b 이후)
Max Pooling 3D Layer blockMax Pooling 3D Layer3-D max pooling layer (R2024b 이후)
Flatten Layer blockFlatten LayerFlatten layer (R2024b 이후)
GRU Layer blockGRU LayerGated recurrent unit (GRU) layer for recurrent neural network (RNN) (R2025a 이후)
GRU Projected Layer blockGRU Projected LayerGated recurrent unit (GRU) projected layer for recurrent neural network (RNN) (R2025a 이후)
LSTM Layer blockLSTM LayerLong short-term memory (LSTM) layer for recurrent neural network (RNN) (R2024b 이후)
LSTM Projected Layer blockLSTM Projected LayerLong short-term memory (LSTM) projected layer for recurrent neural network (RNN) (R2024b 이후)
Dropout Layer blockDropout LayerDropout layer (R2024b 이후)
Identity Layer blockIdentity LayerIdentity layer (R2026a 이후)
Scaling Layer blockScaling LayerScaling layer (R2026a 이후)
Spatial Dropout Layer blockSpatial Dropout LayerSpatial dropout layer (R2026a 이후)

도움말 항목

Deep Learning Layer 블록

영상

시퀀스

강화 학습

Python 연동실행

코드 생성

추천 예제