Toolbox Distribution

Uncategorized

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Toolbox Distribution”.

1. What is the extension of a newly created toolbox?
a) .mltbx
b) .mlx
c) .tlx
d) .tbx

2. What does the following function do?

matlab.addons.toolbox.packageToolbox

a) Converts a .prj file to a .mltbx file
b) Converts a .mat file to a .mltbx file
c) Converts a .mltbx file to a .prj file
d) Converts a .mltbx file to a .prj file

3. What does the following function do?

matlab.addons.toolbox.toolboxVersion

a) Shows all versions of a toolbox
b) Shows the current version of a toolbox
c) Shows the previous versions of a toolbox
d) Error

4. The input to the function “matlab.addons.toolbox.toolboxVersion” is given within ______
a) Parentheses
b) {}
c) []
d) The function doesn’t exist

5. What does this function do?

matlab.addons.toolbox.installToolbox

a) Install a .mlx file
b) Install a .mtbx file
c) Install a .mltbx file
d) Install a .tbx file

6. License arguments for installing toolboxes are _______
a) Ignored
b) Shown
c) Do not exist
d) Depends on the system

7. What is the output of the following code?

matlab.addons.toolbox.installToolbox(‘Lo.mltbx’)

a) Installs the Lo class into the directory
b) Uninstalls the Lo class from the directory
c) Uninstalls the Lo toolbox from the directory, if already present
d) Installs the Lo toolbox into the directory

8. What is the output of the following code?

matlab.addons.toolbox.installToolbox[‘Lo.mltbx’]

a) Error due to a directory
b) Installs the Lo toolbox into the directory
c) Logical Error
d) Syntactical error

9. What is the output of the following code?

matlab.addons.toolbox.installToolbox(Lo.mltbx,True)

a) Error
b) Ignores license file and installs the toolbox directly
c) Prompts the license file and installs the toolbox
d) Logical error.

10. What does the function matlab.addons.toolbox.installedToolboxes return?
a) A structure
b) A table
c) A structure of arrays
d) An array of structure

11. What is the output of the following code?

ver Simulink

a) Shows the version of MATLAB
b) Shows the version of MATLAB and the Simulink Toolbox
c) Shows the version of the Simulink Toolbox
d) Shows the contents of Simulink Toolbox

12. What is the output of the above code?

ver Simulink Toolbox

a) Error
b) Shows the version of MATLAB
c) Shows the version of MATLAB and the Simulink Toolbox
d) Shows the version of the Simulink Toolbox

13. A .mltbx toolbox is written in Java.
a) True
b) False

14. A toolbox is same as a function.
a) True
b) False

15. What is the output of the following code?

matlab.addons.toolbox.uninstallToolbox[]

a) Error
b) Uninstalls the toolbox given in the input
c) Uninstalls all the toolboxes
d) Uninstalls the function given in the input

16. What is the output of the following code?

matlab.addons.Toolbox.uninstalltoolbox()

a) Uninstalls the toolbox given in the input
b) Error
c) Uninstalls all the toolboxes in the system
d) Uninstalls the function given in the input

17. What are the contents of the toolbox shown by the matlab.addons.toolbox.installedToolboxes command?
a) Name, Guid
b) Name, Version, Guid
c) Name, package, Guid
d) Name, package,


Leave a Reply

Your email address will not be published. Required fields are marked *