Clear Filters
Clear Filters

Error executing shell-script commands in Matlab

4 views (last 30 days)
I am trying to run a .sh file in matlab and I get errors of which I have no idea. I am using the system command as follows:
system('sh path_to_file/file.sh') ;
I tried changing permissions
chmod -R 755 file
I am running Matlab on Ubuntu 18.04. I hope you can help me, thanks in advance.
Errors:
gnuplot: /home/user/Matlab2019a/bin/glnxa64/libQt5Network.so.5: no version information available (required by gnuplot)
gnuplot: /home/user/Matlab2019a/bin/glnxa64/libQt5Core.so.5: no version information available (required by gnuplot)
gnuplot: /home/user/Matlab2019a/bin/glnxa64/libQt5Core.so.5: no version information available (required by gnuplot)
gnuplot: /home/user/Matlab2019a/bin/glnxa64/libQt5Gui.so.5: no version information available (required by gnuplot)
gnuplot: /home/user/Matlab2019a/bin/glnxa64/libtiff.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libgd.so.3)
gnuplot: /home/user/Matlab2019a/bin/glnxa64/libtiff.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0)
gnuplot: relocation error: gnuplot: symbol qt_version_tag version Qt_5.9 not defined in file libQt5Core.so.5 with link time reference
  1 Comment
Guillermo Camacho
Guillermo Camacho on 1 Aug 2022
Did you solve it?
Same type of problem while executing a PDAL command from matlab in Ubuntu 19.04
command =
'pdal translate ~/Documents/boxesDatabaseSample/corrida1/"Depth Long Throw"/132696437677359737.ply frame1.ply --writers.ply.dims="X=float32,Y=float32,Z=float32"'
K>> system(command)
pdal: /usr/local/MATLAB/R2021b/bin/glnxa64/libtiff.so.5: no version information available (required by /usr/local/lib/libgdal.so.30)
ans =
0

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!