How to use vision.X functions in simulink?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
wenjin
am 14 Mär. 2014
Kommentiert: wenjin
am 16 Mär. 2014
How to to use vision.X functions in Matlab Function which is a Simulink graphic block?
0 Kommentare
Akzeptierte Antwort
Jacob Halbrooks
am 14 Mär. 2014
You can include System object™ code in Simulink® models using the MATLAB Function block. Your function can include one or more System objects. Portions of your system may be easier to implement in the MATLAB® environment than directly in Simulink. Many System objects have Simulink block counterparts with equivalent functionality. Before writing MATLAB code to include in a Simulink model, check for existing blocks that perform the desired operation.
For an example of the type of code to write in the function, try System objects in MATLAB Code Generation. That page shows an example of a function that uses a System object and is suitable for use with MATLAB Coder. That same style of function should also work with the MATLAB Function block.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!