Error when using fi() function from Fixed Point toolbox

1 view (last 30 days)
I get the following error:
Error loading /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/shared_dastudio_builtins/mwdastudio_builtinimpl.so. libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
It turns out that the usage of the function /Applications/MATLAB_R2021b.app/toolbox/fixedpoint/fixedpoint/fi.m from the Fixed Point toolbox is causing the problem.
How can I overcome thos problem?

Answers (1)

Manas Shivakumar
Manas Shivakumar on 13 Oct 2023
Hello Ido Lev,
I understand that you are encountering errors when using the fi() function from the Fixed-Point toolbox.
Based on the error message, it seems that you are running MATLAB on a Linux environment and some required libraries are missing.
To overcome the problem, you can try the following steps:
  • Ensure that the necessary libraries are installed. Verify if the package ‘libpangocairo.1.0.so.0’ is installed on your system. On Ubuntu or Debian based systems, you can try installing the library by running the below command.
>> sudo apt-get install libpangocairo-1.0-0
  • Ensure that MATLAB can locate the library by setting the library search path to the library location on the system.
Please note that these steps are initial troubleshooting measures. They
may or may not resolve the issue.
Hope this information helps!

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!