The function (Example_to_docker_v2.m and it’s depending FSL matlab toolbox) was compiled by using the Matlab 2015b in Linux(fn). '' mcc -m Example_to_docker_v2.m This function can report the central value of an MRI image, and output somethings to a text file. I want to test serval things in this function
- Basically, is that possible to run a Matlab function (compiled) with user-input parameters (inputniifile, outputtxt in this case)
- Does it work for calling a function of FSL to read nii image (read_avw for an instance)
- Does it work for multi-language ( It seems not working)
- Is that possible to call system console( for example : echo, bet et al.)
For example, it can run the Matlab function in docker and input output in the host (for instance, my mac)
bash-3.2$ docker run -v ~/test_data/:/data/ --rm jngong/nitb_uestc_test /data/Nii_Images_for_test/T1_test.nii /data/output_test.txt 1