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

2 views (last 30 days)
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.

Answers (1)

Kaustubha Govind
Kaustubha Govind on 10 Jul 2013
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 Comments
Muneer
Muneer on 11 Jul 2013
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.

Sign in to comment.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!