Use EmbeddedMatlab function without stateflow
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
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 comentarios
Fangjun Jiang
el 9 de Sept. de 2011
What version of MATLAB are you using?
Kaustubha Govind
el 9 de Sept. de 2011
Are the Embedded MATLAB blocks coming from a library that also contains Stateflow charts?
Kaustubha Govind
el 9 de Sept. de 2011
Please consider reporting this to MathWorks Tech Support.
Niklas Nylén
el 12 de Sept. de 2011
Fangjun Jiang
el 12 de Sept. de 2011
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
el 15 de Sept. de 2011
Respuestas (1)
Fangjun Jiang
el 9 de Sept. de 2011
0 votos
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 comentarios
Niklas Nylén
el 9 de Sept. de 2011
Fangjun Jiang
el 9 de Sept. de 2011
See update in the answer. What are the MATLAB versions in your two computer?
Niklas Nylén
el 9 de Sept. de 2011
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!