SnehalBPatil 0 Newbie Poster

I am developing the Django application which runs the Matlab code and create some txt and png files on the server.when I run these below python command on server, it works fine but when I try to run from the server (it is coded in Viewspy).It shows file is updated.(from timestamp).But when I open the file its not updated.I checked error log and access log.But they is no error in them.

os.chdir('/var/www/djangoapps/practicum/LineShapeKin_Simulation_4.1.4/LineShapeKin_Simulation_4.1/Python/')
os.system('/usr/local/MATLAB/R2011b/bin/matlab -nojvm -nosplash -nodisplay -r runscript')
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.