フィルターのクリア

Code Generation Optimization for Stateflow vs Code Generation Optimization for Block-wise implementation

1 回表示 (過去 30 日間)
A very basic question: I'm implementing a logic in Simulink and am using the ifelse-subsystems-output sort of architecture. Someone suggested that a Stateflow would be a better way to implement the type of logic that I am working on. Will the autocode generation be different for a logic implemented using Stateflow than for the same logic implemented using Simulink library blocks and subsystems?
I do understand that certain logics that involve setting and resetting flags and state-transitions can be implemented in a better way using Stateflow, but the logic that I am working on does not involve state transitions or setting/resetting flags.

回答 (1 件)

goerk
goerk 2016 年 3 月 29 日
It is not possible to give a general answer to this question. But you may take a look at http://ch.mathworks.com/matlabcentral/fileexchange/46786-what-is-the-best-way-to-implement-my-algorithm-in-simulink--
In this package there is also a Presentation of the results.

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by