Simbiology installed but not recognized in App

6 ビュー (過去 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 コミュニティ

カテゴリ

Help Center および File ExchangeBiotech and Pharmaceutical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by