Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Use EmbeddedMatlab function without stateflow
2 ビュー (過去 30 日間)
古いコメントを表示
I have developed an application on a computer that that has StateFlow, even though the application does not use stateflow.
When I try to run the application on another computer that does not have StateFlow installed, I get an error on my EmbeddedMATLAB Functions, saying that StateFlow is missing.
I have attempted to just remove the StateFlow path from my development computer. This makes it impossible to insert EmbeddedMATLAB blocks at all ('Bad Link').
Does anyone know how to get to the ordinary EmbeddedMATLAB block back?
6 件のコメント
Fangjun Jiang
2011 年 9 月 12 日
To be clear, after you remove the Stateflow path from your development computer, can you go to simulink library->User-Defined Functions and drag/drop a usable "Embedded MATLAB Function" block?
回答 (1 件)
Fangjun Jiang
2011 年 9 月 9 日
In R2011a, Embedded MATLAB functions have been renamed as MATLAB functions in Stateflow charts. I guess if you develop the model in old version but then move to a different computer with the new version of MATLAB, it's going to automatically convert the model and look for the Stateflow.
3 件のコメント
Fangjun Jiang
2011 年 9 月 9 日
See update in the answer. What are the MATLAB versions in your two computer?
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!