Awesome, thanks!
Can you please help me with these lines too:
writecell({'R'},'Output.xlsx','sheet',1,'Range','A1');
writematrix(R,'Output.xlsx','sheet',1,'Range','A2');
writecell({'C'},'Output.xlsx','sheet',2,'Range','A1');
writematrix(C,'Output.xlsx','sheet',2,'Range','A2');
writecell({'LQ'},'Output.xlsx','sheet',3,'Range','A1');
writematrix(LQ,'Output.xlsx','sheet',3,'Range','A2');
writecell({'Region/Section per region'},'Output.xlsx','sheet',4,'Range','A1');
writematrix(o_vector,'Output.xlsx','sheet',4,'Range','A2');
writecell and writematrix don't work in octave and only work in matlab. I want replaces for them in octave.
Thanks again.