I have codes which are written in C++ and I would like to use them in Matlab. In my folder I have these files:
- do_it.cpp
- hist (I guess it's a binary file)
- hist_lebesgue.cpp
- hist_lebesgue.hpp
- tools.cpp
- tools.hpp
The program is supposed to make a pdf distribution of your data set.
I was told that to run the code in Linux (I guess by C++ compiler) you need to call the binary 'hist' from the linux commandline. If you are in the folder where the binary lies then you need to type for example
['./hist 1000 2 path_to_file'].
path_to_file is the path of your data file.
Now I want to use this code to run it in Matlab. Could someone please help me how I can do this. What should I type in Matlab's command Window?
PS. I am using mac.