Error display that simulink model must be compiled before it can be accessed programmatically

Currently I am working on generating code from Matlab R2013b_Simulink coder but upon building the model it shows "simulink model must be compiled before it can be accessed programmatically" Can somebody please help me how to get rid of this error???

3 个评论

Could you please paste the full error log? That will give information about what System Target File is being used, and at what stage the error occurred.
The model 'piptd' must be compiled before it can be accessed programmatically.can somebody please help how to overcome this
In my case the problem was that I named Simulink model and a function called during the execution with the same name.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by