Why function handle is not readable when display it?

조회 수: 2 (최근 30일)
hamid
hamid 2023년 1월 30일
답변: ABDOLHAMID DASHTIAHANGAR 2023년 1월 30일
I have a function handle which is the resutlf of lots of algebric work and it is long. When I display it in the command window it is very messy (fbelow):
This makes it hard to get the list of arguments input to the function. How can I dislay/print the function hangdle in a more readable format? Currently, I do this:
s = function(my_func)
and then I look at the Variable s:
I should note the output of function handle is correct, it is just the messy display that is annoying.
Thanks
  댓글 수: 8
Adam Danz
Adam Danz 2023년 1월 30일
Please contact tech support and include instructions how to reproduce the problem and information about your OS/machine.
ABDOLHAMID DASHTIAHANGAR
ABDOLHAMID DASHTIAHANGAR 2023년 1월 30일
Problem solved! I had to go to the preference and turn on the "wrap lines" in Command Window settings. Now everything looks ok!

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

답변 (1개)

ABDOLHAMID DASHTIAHANGAR
ABDOLHAMID DASHTIAHANGAR 2023년 1월 30일
Go to Preferences--> Command Window and check the "wrap lines" option.

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by