Hello, we have a MATLAB GUI code and it produces a graph, we need to save the data of the graph in a txt file, how can we do it?
Thanks
Dear Ahmed,
Your question is very general since you haven't mentioned if you store the data in a matrix or some other form like lists.
1) Assuming that you have a matrix you can use writetable to write your data into a text file. Eg.: writetable(data,'outputfile.txt');
2) In that case, what you have is a double array instead of a table.
You can simply use csvwrite. Eg. csvwrite('outputfile.txt',magic(10));
Thank you dear Pavlos, I have a 2 column data, Temperature v time...Will your method work?
Yes, it works.
Okay sir, thank you very much!
Hello, I have a simple model (PV cell+ air channel) and I do not know how to let the sun rays hit the PV surface and then transfer the heat to the air..What I see is the sun rays hit the air...
08 September 2019 475 2 View
Hello, I need the equations that show the coefficient of the matrix that solves the velocity contours of the boundary layer over a flat plate. I have the explicit discretization equations but I...
05 June 2019 7,941 4 View
Hell, how can we write a UDF to include a heat flux value + convection coefficient for a wall in Fluent because we cannot define two named selections for 1 wall ? Danke!
05 June 2019 7,041 12 View
Hello, I want to simulate the half of the domain and define a symmetry wall because I do not want to consider it as the edge wall, I want to consider it the wall at the half of the domain..How ca...
04 May 2019 5,819 3 View
Hello, I want to know how to use ANSYS Chemkin to model the attached model in the attached paper. the videos on internet are so simple. Thanks
04 May 2019 3,934 2 View
Hello, we have done a simulation using ANSYS FLUENT, can we couple it with ANSYS simplorer? And if yes, how and what are the documents I can study? Danke!
03 April 2019 2,674 6 View
Hello, I have a wall which is affected by a heat flux and it is cooled by convection..How can we do this in FLUENT? Thanks
02 March 2019 5,946 4 View
Hello, we wanna write a thesis and we need the equations used for simulating the temperature distribution over a PV panel.. Where can we get these equations that ANSYS uses ? Thanks
31 December 2018 5,790 5 View
Hello, we have a CFD code written in MATLAB and we wanna save the calculations at a specific node to a text file like ANSYS FLUENT..Any suggestions please? We will be extremely grateful! Thank you!
31 December 2018 816 3 View
Hello, I have a file contains many columns and we need to plot the table in MATALB. How can we do this? The file is attached.. Thanks
09 October 2018 1,032 0 View
Hi, I am using GROMACS 5.1.4 to simulate water in contact with a surface. I am only interested to calculate some properties of water near the surface. Let's say at a distance of x nm from the...
03 March 2021 9,989 2 View
Results of single-case research designs (i.e., n-of-1 trials) are often evaluated by visually inspecting the time-series graph and computing quantitative indices. A question our research team is...
03 March 2021 687 1 View
I have prepared a manuscript in IEEE Latex template, but for some purpose, I need to prepare a word file as well (detailed format is not required). Compared to two column .tex file, one column...
02 March 2021 1,830 3 View
Hello, I am working on a soil project and I found a primary research article that tests how the modification of agricultural soil can cause global warming, using a thermal collector, however I...
02 March 2021 7,161 3 View
I made a vertical section plot with WOA .nc file on ODV, and now I want to plot my stations (csv. file) in it. Does anyone know how to import my points to the section? They are two different...
01 March 2021 3,610 1 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
01 March 2021 1,290 2 View
I want to make a stacked bar graph with showing each data value as dots. I tried with graph pad prism, version 6, but could not succeed. Does anyone have tried before making such graphs?
01 March 2021 9,383 1 View
The following code (see 1st 2 images attached) is used to produce PID controller values that are designed to control the system (G). The code finds the PID controller values (noted as k) by using...
28 February 2021 6,560 14 View
I have input and output data set for "ANFIS modeling in MATLAB", and I am getting some negative predicted values of output in testing. However, the predicted values of output in training are...
28 February 2021 3,459 3 View