A Finite element analysis was done in COMSOL and it was saved as .m file, so that i could run it in a livelink with matlab. The program executed and i got nothing as output i.e. there were no errors but it didn't worked as a normal matlab program.
So, my problem is :
# i want the following code( this is just a line) to run and give me the output on desktop i.e. a text file.
model.result.export('plot1').set('filename', 'C:\Users\Saurav\Desktop\s.txt');
Above line was not written by me it was created when i saved my COMSOL program as a matlab file. i changed the name of text from" r.txt" to "s.txt" to see output.
Please help me regarding this topic.
So, my problem is :
# i want the following code( this is just a line) to run and give me the output on desktop i.e. a text file.
model.result.export('plot1').set('filename', 'C:\Users\Saurav\Desktop\s.txt');
Above line was not written by me it was created when i saved my COMSOL program as a matlab file. i changed the name of text from" r.txt" to "s.txt" to see output.
Please help me regarding this topic.