Info

This question is closed. Reopen it to edit or answer.

matlab function and excel connection

1 view (last 30 days)
dediydi
dediydi on 19 Jul 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello all,
I have connected my matlab function to excell via spreadsheet link ex. I can get data and set data but i can not use my matlab function in excel. i want to see all the output variables which are in workspace, in the excel when i enter the input value. if you could help me i would be greatfull
for ezample ; // in m file
function [x,z]=sil(a) b = 40; x=a+b; z=a-b;
val_z = z; val_x = x;
end
//in command window
[x,z]=sil(75)
// in workspace
x = 115; z = 35;
and i want to see x and z values in excel when i enter a

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!