Syntax for work space output and multiple variables to work space
Ältere Kommentare anzeigen
Hi, I am trying to run a program and output more than one variable. Not sure on the syntax, but here is what I am going for:
function [Project, Counter] = NumberCycle(num,times2run)
(code)
end
I would like Mat lab to output the Project variable as one matrix in the work space and the Counter variable as a completely separate matrix in the work space. That way I could click on either variable when I need to look at them.
Lastly, when you send a variable to the work space, mat lab spits out that information in the command window as well (even if suppressed in the code), is there a way to stop that?
Any help is appreciated, thanks!
1 Kommentar
Azzi Abdelmalek
am 19 Mär. 2016
Your question is not clear
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!