Simbiology installed but not recognized in App

조회 수: 3(최근 30일)
CLang
CLang 2018년 10월 19일
답변: Iraj Hosseini 2018년 10월 25일
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

채택된 답변

Sietse Braakman
Sietse Braakman 2018년 10월 19일
편집: Sietse Braakman 2018년 10월 20일

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.

추가 답변(1개)

Iraj Hosseini
Iraj Hosseini 2018년 10월 25일
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.

커뮤니티

더 많은 답변 보기:  SimBiology Community

Community Treasure Hunt

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

Start Hunting!

Translated by