sr-metric icon indicating copy to clipboard operation
sr-metric copied to clipboard

how to run the code in linux

Open AshinCarlXiao opened this issue 5 years ago • 6 comments

I am trying to run the code on ubuntu16.04 using matlab2015b. I run the demo.m and got error"undefined function or variable mexRF_predict". Then I run the comile_linux.m file under the RF_Reg_C folder and got error "make:*** no rule to make target mex".
I am not familiar with Matlab mex, am I use the wrong version of Matlab or other reasons?

Hope you someone give me an advice. Thanks

AshinCarlXiao avatar Apr 24 '19 02:04 AshinCarlXiao

I am trying to run the code on ubuntu16.04 using matlab2015b. I run the demo.m and got error"undefined function or variable mexRF_predict". Then I run the comile_linux.m file under the RF_Reg_C folder and got error "make:*** no rule to make target mex".
I am not familiar with Matlab mex, am I use the wrong version of Matlab or other reasons?

Hope you someone give me an advice. Thanks

have you solve this problem, I meet the same question too

sureJ0824 avatar Nov 20 '19 06:11 sureJ0824

Mexw64 is compiled and used under Windows 64 bit and cannot be used under Linux. Can you provide Mexa64 version for linux users? Thank you!

JerryWang22 avatar Jan 06 '20 08:01 JerryWang22

https://github.com/gentlezr/fix-bug-ubuntu-PIRM2018

gentlezr avatar Mar 10 '21 03:03 gentlezr

https://github.com/gentlezr/fix-bug-ubuntu-PIRM2018

this didnt work for me either

CrissyHoo avatar Feb 24 '22 12:02 CrissyHoo

错误提示是什么?

gentlezr avatar Feb 25 '22 13:02 gentlezr

Got it working on Ubuntu 20.04, here's a repo with the README explaining the steps to be taken to generate the mexa64 files needed for running the code on Linux.

Timmate avatar May 28 '22 09:05 Timmate