Use EmbeddedMatlab function without stateflow
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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월 9일
What version of MATLAB are you using?
Kaustubha Govind
2011년 9월 9일
Are the Embedded MATLAB blocks coming from a library that also contains Stateflow charts?
Kaustubha Govind
2011년 9월 9일
Please consider reporting this to MathWorks Tech Support.
Niklas Nylén
2011년 9월 12일
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?
Niklas Nylén
2011년 9월 15일
답변 (1개)
Fangjun Jiang
2011년 9월 9일
0 개 추천
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
Niklas Nylén
2011년 9월 9일
Fangjun Jiang
2011년 9월 9일
See update in the answer. What are the MATLAB versions in your two computer?
Niklas Nylén
2011년 9월 9일
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!