How to have only one output from each cell ? (Live Scripts)
Show older comments
I am starting to create new scripts using the live editor .I will like to have one output per cell (like in jupyter notebook) and I haven't found out a simple way to do it. I don’t like that the code gets split to provide an output on the middle of the cell .
As an example , I provide the following representation . I would like to have a unified output after each cell.
syms x
f = tanh(x);
ezplot(f,[-10,10]);
disp(['We have this formula:'])
f
Thanks for your help !!
2 Comments
I am not sure what you mean by one output per cell.
Is this what you are looking for?
syms x
f = tanh(x);
disp(['We have this formula: ' char(f)])
Enrique
on 15 Nov 2022
Accepted Answer
More Answers (0)
Categories
Find more on Operations on Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!