simulation error using simple porm RAM while running the program
22 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148487/image.gif)
hi, when I am using a single simple RAM The in my simulink project and trying to run simulation. As I do so, an error pop up window is ocur. Can someone explain me how to solve it ?
see the attached file with error message and msimple port RAM.
thanks,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148488/image.gif)
Henry
0 个评论
回答(1 个)
Bharath Venkataraman
2015-12-9
For this model to work, both RAMs should have the same input and output data types.
It appears that the input and output of the RAMs are being inferred to be different datatypes. What datatype would you like the input/output of the first RAM to be, and is that compatible with the other RAM input/output data you are concatenating with this data?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!