Use the snap7 library to read / write to Siemens PLCs. The classdef file is suitable for compilation via RTW, using in "normal" Simulink, or scriptable via MATLAB.
Linux only. Requires some work to setup.
Cite As
thomas (2022). sim7 (https://github.com/thomas169/sim7), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.