|
1 | 1 | % (C) Copyright 2020 CPP_BIDS developers |
2 | 2 |
|
3 | 3 | function responses = askUserGui(questions, responses) |
4 | | - % |
5 | | - % Short description of what the function does goes here. |
6 | | - % |
7 | | - % USAGE:: |
8 | | - % |
9 | | - % [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3]) |
10 | | - % |
11 | | - % :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet, |
12 | | - % consectetur adipiscing elit. Ut congue nec est ac lacinia. |
13 | | - % :type argin1: type |
14 | | - % :param argin2: optional argument and its default value. And some of the |
15 | | - % options can be shown in litteral like ``this`` or ``that``. |
16 | | - % :type argin2: string |
17 | | - % :param argin3: (dimension) optional argument |
18 | | - % :type argin3: integer |
19 | | - % |
20 | | - % :returns: - :argout1: (type) (dimension) |
21 | | - % - :argout2: (type) (dimension) |
22 | | - % |
| 4 | + % |
| 5 | + % Short description of what the function does goes here. |
| 6 | + % |
| 7 | + % USAGE:: |
| 8 | + % |
| 9 | + % [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3]) |
| 10 | + % |
| 11 | + % :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet, |
| 12 | + % consectetur adipiscing elit. Ut congue nec est ac lacinia. |
| 13 | + % :type argin1: type |
| 14 | + % :param argin2: optional argument and its default value. And some of the |
| 15 | + % options can be shown in litteral like ``this`` or ``that``. |
| 16 | + % :type argin2: string |
| 17 | + % :param argin3: (dimension) optional argument |
| 18 | + % :type argin3: integer |
| 19 | + % |
| 20 | + % :returns: - :argout1: (type) (dimension) |
| 21 | + % - :argout2: (type) (dimension) |
| 22 | + % |
23 | 23 |
|
24 | 24 | % boolean for which question should be asked |
25 | 25 | isQuestionToAsk = ~cellfun('isempty', questions.questionsToAsk(:, 1)); |
|
0 commit comments