how can i show the result parameters in workspace?

i write a m file program but after run the program, workspace is empty only for this program.how can i see parameter result in workspace?

댓글 수: 1

What is the signature on your function (program)? Does it return something, the parameter result that you are expecting? i.e. if the signature is something like:
function [u,v] = myfunction(a,b,c)
% code
end
then when you call this function from the workspace, make sure that you are allowing the output of myfunction to be assigned to something:
>> [u,v] = myfunction(a,b,c);
Or are you expecting to see more/different parameter data?

댓글을 달려면 로그인하십시오.

답변 (1개)

Mahdi
Mahdi 2014년 5월 22일

0 개 추천

You can do as Geoff mentioned in the comments. You can also tell the m file program to display the required values using disp or sprintf or something along those lines. Also, make sure that you don't have clc anywhere to clear the window.

카테고리

도움말 센터File Exchange에서 Data Type Identification에 대해 자세히 알아보기

태그

질문:

2014년 5월 22일

답변:

2014년 5월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by