MATLAB Answers

Simbiology installed but not recognized in App

5 views (last 30 days)
CLang
CLang on 19 Oct 2018
Answered: Iraj Hosseini on 25 Oct 2018
I am new to MatLab and could use some help. In preparation for a webinar next week on gPKPDSim I installed MatLab. The instructions for gPKPDSim say that to run the program I also need to install 'GUI Layout Toolbox 2.3.1.mltbx', 'SimBiologyNCA.mltbx"), and 'gPKPDSimToolbox.mltbx".
I used the 'installedToolbox = matlab.addons.toolbox.installToolbox(toolboxFile,agreeToLicense)' command and successfully installed all three toolboxes with all three showing in the Add-On Manager as installed. When I run the gPKPDSim App I however get an an error from this code
if isempty(ver('simbio'))
error('This app requires SimBiology tool to run');
end
When I give the 'ver' command only the GUI Layout Toolkit is shown. I have added the paths 'C:\Program Files\MATLAB\R2018a\toolbox\matlab\connector2\shadowfiles\shadows\simbiology' and 'C:\Users\langston\Documents\MATLAB\Add-Ons\Toolboxes\SimBiologyNCA\code'. After restarting MatLab I get the same error for Simbiology. I expect to later get an error for gPKPDSimToolbox.
How do I get the gPKPDSim App to recognize these missing toolboxes?
Thanks, Cory

  0 Comments

Sign in to comment.

Accepted Answer

Sietse Braakman
Sietse Braakman on 19 Oct 2018
Edited: Sietse Braakman on 20 Oct 2018

The gPKPDSim app requires the SimBiology toolbox to run as it uses SimBiology models and associated functions for e.g. for simulation. The path you added does not refer to the actual SimBiology toolbox but just to the NCA capabilities. The NCA capabilities used to be an add-on for SimBiology prior to release 2017b, but have been incorporated in SimBiology starting with release 2017b. If you have the full SimBiology toolbox, it would live here (on Windows): C:\Program Files\MATLAB\R2018b\toolbox\simbio\simbio An easy way to see whether you have SimBiology is to go to the Apps Tab in MATLAB and see whether the SimBiology App is listed there (see attached screenshot)

or to type

 simbiology

in the command line. If you don't have SimBiology, we can set you up with a temporary trial license.

It seems like you already managed to install the GUI Layout Toolbox. If you haven't, the easiest way is to open the Add-on Explorer (far right button in screenshot) and search for GUI Layout Toolbox. When you click on the toolbox, there should be an install button that automatically adds this toolbox to your MATLAB installation.

  0 Comments

Sign in to comment.

More Answers (1)

Iraj Hosseini
Iraj Hosseini on 25 Oct 2018
Hi Cory,
As mentioned in the paper, The gPKPDSim application was developed using MATLAB®, SimBiology® and the Statistics and Machine Learning Toolbox and the user requires a MATLAB® license with the mentioned toolboxes to be able to launch the application.

  0 Comments

Sign in to comment.

Communities

More Answers in the  SimBiology Community

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by