how do you include new lines in a script - which keyboard tangent?
Show older comments
how do you include new lines in a script - which keyboard tangent?
Answers (2)
Steven Lord
on 14 Feb 2017
0 votes
Are you asking about a keyboard shortcut to add a blank line to a script file in the Editor? The Enter key is that shortcut. If that's not what you're looking for, please clarify what you want to do.
1 Comment
Jan Oredsson
on 14 Feb 2017
Edited: Walter Roberson
on 15 Feb 2017
Jan Oredsson
on 14 Feb 2017
Edited: Walter Roberson
on 15 Feb 2017
1 Comment
Walter Roberson
on 15 Feb 2017
After
for i=2:Nx-1
ukp1(j,i)=0.25*(u(j+1,i)+u(j,i+1)+u(j-1,i)+u(j,i-1));
fprintf(' %8.6f |',ukp1(j,i))
end
add
fprintf('\n');
Categories
Find more on Desktop 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!