Fitting model on a Debian machine
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone, I am trying to fit a model of mine on a remote linux machine (Debian GNU/Linux 11 (bullseye)). I'd like to use MATLAB as a command line application and not use a X11 interface. I have not found any tutorial or suggestion in the documentation, as all examples either use the Simbiology app or the 'classical' Desktop version of MATLAB.
I have already installed MATLAB on the server with all necessary add-ons, does someone have suggetions on how to proceed? Also considering that I am working on my local pc for the development nof the model and I need to 'transfer' my data to the MATLAB worksopace on the server.
0 个评论
回答(1 个)
Arthur Goldsipe
2024-4-8
If you want to fit a SimBiology model using a command-line function, you can directly call sbiofit (or sbiofitmixed). This is exactly what the SimBiology Model Analyzer App uses. There are examples on each of these ref pages.
2 个评论
Arthur Goldsipe
2024-4-8
Sorry, I'm still a little confused. Are you running an actual MATLAB installation on the server? Or are you trying to create a standalone executable (using MATLAB Compiler) that you run on the server?
If you're running "normal" MATLAB on the server, you can save your model to a MAT file and load it on the server.
If you're trying to create a standlone executable to run on your server, then things are a lot more complicated. And if I understand what you mean by "agile", this is not supported with the MATLAB Compiler. When using SimBiology with MATLAB Compiler, you cannot load/create "normal" SimBiology models. You can however create a deploy a SimFunction. You can find an example of that here. (You would also need to write your own code for fitting that uses a SimFunction.) The SimFunctions you can load in the app also must be determined at the time you create this executable application. So it may still not be "agile" enough for you.
If this still doesn't make sense, feel free to send a message to me over my MATLAB Answers profile. I can either follow up with you directly or put you in touch with one of the engineers that helps support SimBiology.
社区
更多回答在 SimBiology Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!