MATLAB Answers

Use the Simbiology diagram feature in a graphical interface

2 views (last 30 days)
Hi Hi I am using SimBiology a lot and think that it is a great module, I use the diagram feature to build my models. I would like to create a graphical user interface there you can use the diagram feature (ad species, reaction and compartments) in the gui, is this possible?

Accepted Answer

Arthur Goldsipe
Arthur Goldsipe on 18 Nov 2015
Hi Martin,
I'm happy to hear that you find SimBiology useful. (I'm one of the developers on the team.)
But to answer your question, no, there's currently no way for you to include any components of the SimBiology Desktop in your own graphical user interface.
-Arthur
  3 Comments
Jeremy Huard
Jeremy Huard on 4 May 2020
Hi Martin,
This hasn't changed. As Arthur mentioned, there is no way for you to embed the graphical model building functionality in your app.
However, if you do not want to dynamically create a model in your app but rather display the diagram of a model you have previously built in SimBiology, you could do the following:
  1. build your model in SimBiology
  2. Export the graphics as SVG by clicking on 'Export' in the 'Model view' tab. See here.
  3. Use uiimage component in your app to display the SVG image.
Remark: uiimage will not be available in GUIDE. As Sietse recommended you in another post, App Designer is the recommended tool now to build apps.

Sign in to comment.

More Answers (0)

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!