Borrar filtros
Borrar filtros

Run matlab with excel

6 visualizaciones (últimos 30 días)
Joel
Joel el 11 de Abr. de 2023
Respondida: Jon el 11 de Abr. de 2023
Hi
I want to run MATLAB scripts from excel. I have this script that reads data from another excel file and use input variables (x1 and x2, these I would like to type in excel). The output is in the form of graphs and vectors that I want to show in an OUTPUT sheet in excel
x1=0;
x2=24200+x1; %I want to type x1 and x2 in excel
Data=readtable("Data.xlsx"); %There is a different Excel-file for every year,
% so I would like this to be an input as well
...
output_double=[ 1 2 3]; %vector
figure
plot(y1,y2) %graph

Respuestas (1)

Jon
Jon el 11 de Abr. de 2023
You can use Spreadsheet Link for this type of application https://www.mathworks.com/products/spreadsheet-link.html

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by