# Function call problem. How to solve it?

2 views (last 30 days)

Show older comments

I have a function, sliceobject(im). I used another m file to compute the input im. After that I used sliceobject(im) But the output can't show in workspace.

I directly use sliceobject with im input is okay.

how to show the output from sliceobject(im)

### Answers (1)

Adam
on 19 Aug 2014

result = sliceobject(im);

should work fine.

Occasionally I find that my workspace doesn't refresh itself so I press F5 or just type e.g. 'result' on the command line to force the update and double check 'result' is in fact in the workspace.

##### 6 Comments

Adam
on 19 Aug 2014

### See Also

### Community Treasure Hunt

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

Start Hunting!