Simbiology installed but not recognized in App

5 visualizaciones (últimos 30 días)
CLang
CLang el 19 de Oct. de 2018
Respondida: Iraj Hosseini el 25 de Oct. de 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

Respuesta aceptada

Sietse Braakman
Sietse Braakman el 19 de Oct. de 2018
Editada: Sietse Braakman el 20 de Oct. de 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.

Más respuestas (1)

Iraj Hosseini
Iraj Hosseini el 25 de Oct. de 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.

Comunidades de usuarios

Más respuestas en  SimBiology Community

Categorías

Más información sobre Import Data en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by