Hello All,
I hope you help me with this because I think I have reached the final step.
After enormous efforts and a lot of mistakes I learned how to make a MatLabe Builder Excel files and engage them with MS Excel as Add-in.
My Original function in MatLab is :
--------------------------------------------------
function AA=exceltest(BB)
for I=1:length(BB)
AA(I)=BB(I)*2
end
---------------------------------------------------
Where AA & BB are vector arrays.
I made an Add-IN to excel with this as I said.
The input array BB is a column in Excel sheet. The output AA is another column.
The problem is Excel only put one number in the first cell of the output !!
The output is a column it's length is just like the length of BB as you can see from the MatLab function code.
How can I make Excel put the whole array to the selected cells ?
Bookmarks