Skip to content

Commit 9491215

Browse files
committed
Handle multiple returns for what
1 parent 9edfac1 commit 9491215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Getting-Started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ the instructions above or using the ``what`` command:
287287
.. code:: matlab
288288
289289
what_result = what('ott');
290-
ott_path = fileparts(what_result.path);
290+
ott_path = fileparts(what_result(end).path);
291291
cd([a, '/examples']);
292292
293293

0 commit comments

Comments
 (0)