# NOT RUN {
if (have_matlab()){
run_matlab_code("disp(version)")
run_matlab_code(c("disp('The version of the matlab is:')", "disp(version)"))
run_matlab_code(c("x = 5", "disp(['The value of x is ', num2str(x)])"))
}
# }
Run the code above in your browser using DataLab