Files Associated with the Video "Creating a Simulink Block Using MATLAB Code"
This contains the following files:
README.txt - a text file that explains how to get the C++ driver code that will be used in the MATLAB class and where to put it
TouchSensor.m - a MATLAB class derived from the matlab.System and coder.ExternalDependency classes
touchSensor_wrapper.cpp - a C wrapper file for a C++ driver
touchSensor_wrapper.h - a header file that defines the prototypes for the C wrapper functions
TouchSensor.png - an image used on the mask of the Simulink Block created using the MATLAB class
getTouchSensorRootPath.m - a MATLAB function that will return the location to which this folder is extracted
Creating a Simulink Block Guide.pdf - a document that explains the steps used to create a Simulink block from the MATLAB class and C/C++ code
While the example used required Embedded Coder and many other products, the process can be used with only MATLAB and Simulink installed.
Cita come
MathWorks Student Competitions Team (2024). Files Associated with the Video "Creating a Simulink Block Using MATLAB Code" (https://www.mathworks.com/matlabcentral/fileexchange/48714-files-associated-with-the-video-creating-a-simulink-block-using-matlab-code), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.