Why function handle is not readable when display it?

2 visualizaciones (últimos 30 días)
hamid
hamid el 30 de En. de 2023
Respondida: ABDOLHAMID DASHTIAHANGAR el 30 de En. de 2023
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 comentarios
Adam Danz
Adam Danz el 30 de En. de 2023
Please contact tech support and include instructions how to reproduce the problem and information about your OS/machine.
ABDOLHAMID DASHTIAHANGAR
ABDOLHAMID DASHTIAHANGAR el 30 de En. de 2023
Problem solved! I had to go to the preference and turn on the "wrap lines" in Command Window settings. Now everything looks ok!

Iniciar sesión para comentar.

Respuestas (1)

ABDOLHAMID DASHTIAHANGAR
ABDOLHAMID DASHTIAHANGAR el 30 de En. de 2023
Go to Preferences--> Command Window and check the "wrap lines" option.

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by