Simulink block diagram has issues with function blocks in R2013a, not R2012.

1 次查看(过去 30 天)
Hello,
I was given a fairly complex block diagram which I am not the author of which runs fine in R2012. It has a few function blocks in its lower levels. I tried running it in R2013a and came back with an error. I suspected it was a version issue so I ran the upgradeadvisor command and got this:
"Update reason — The 'FIMATH for fi and fimath constructors' with the 'MATLAB factory default' setting for the MATLAB Function block '...' is no longer supported. Changing this setting to use the 'MATLAB Function Block FIMATH'.:
Any advice would be greatly appreciated. I am not very familiar with fixed point data types and am currently trying to understand fi objects in MATLAB to solve the problem.
Thank you.

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2013-7-10
To follow the Upgrade Advisor, open up the MATLAB Function block's Ports and Data Manager and select 'Specify other' for the 'MATLAB Function block fimath' option.
  2 个评论
Muneer
Muneer 2013-7-11
Kaustubha, Currently all of the function blocks are set on 'Specify other' already when I open the ports and data manager but the upgrade advisor still displays that message.I am also returning these errors when I try to run the model:
Error occurred during model compile.
Error using targetman>throw_make_error (line 578) (SLSF Diagnostic)
Hopefully that sheds some light on the situation, thank you for your help.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Configure and View Diagnostics 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by