Johannes in MATLAB Answers
Última actividad el 14 de Nov. de 2023

R Andreev on 18 Mai 2021 asked, if it is possible to programmatically export the SimBiology model diagrams. I would like to do this programatically within MATLAB. A staff member replied that this was planned for the 2021 b release. Has this functionality been added yet? I cannot seem to find any documentation about it.
Paulo in MATLAB Answers
Última actividad el 3 de Feb. de 2023

Hello, I'm using a SimBiology exported model and I need to get the last value of a simulation and use it as initial condition for a following simulation (with different parameters, or dosing information), here is an example of what I need to do: [t, y, names] = simulate(exported_model); exported_model.InitialValues = y; [t, y, names] = simulate(exported_model); The problem is in the second line of the code as, surprinsingly, the order of the variables in y is not the same as the order in InitialValues. Currently, I'm performing a search for the appropriate index in names and using `exported_model.getIndex` to update each element of InitialValues. But this approach is suboptimal, it takes more than 1min to go over the entire array of initial conditions. Is there any way to ensure that the output of model simulations come in the correct order? Or what would be the optimal approach here? Thank you
Teerachat Saeheng in MATLAB Answers
Última actividad el 6 de Mzo. de 2022

Hello. I have apple computer and I have a problem to export results from scan mode into excel file for a visual population simulation. There is no export to excel file in MacOS, therefore, I have to install windows in Mac. I would like to know that does it have an export command for excel file in a scan mode for the new version of simbiology in MacOs. Thank you in advance for your help!!
Jim Bosley in MATLAB Answers
Última actividad el 10 de En. de 2022

I have a fairly large and complex simbiology model. I'd like to export the graphical model diagram in a presentation quality tiff, png, or other file. When I zoom to show the whole diagram, the species labels are too small and dissappear. So a screen grab misses the labels. This is unacceptable to the client, who must show the diagram to his funding sources. He wants the high information density to be very apparent, to show the level of work we've put into this. Other tools I've used have an export function (with png, tiff, jpeg, etc format choosable). Is there any way to get a presentation quality file directly from simulink? Perhaps I'm missing an easy command, or perhaps I need to update my version of Simbiology. Thanks! PS I'm using Ubuntu 20.04
R Andreev in MATLAB Answers
Última actividad el 22 de Mayo de 2021

Is it possible to export programmatically the SimBiology model to HTML? Export the diagram as a figure?