Variables from Matlab App Workspace to Simulink without Matlab Workspace
34 views (last 30 days)
Show older comments
Marco
on 22 Sep 2025 at 12:08
Commented: Marco
on 25 Sep 2025 at 10:18
Is it possible to pass variables form Matlab app workspace (a struct in matlab app made like this app.Workspace.Subworkspace.Variable), directly to Simulink, without using Matlab Workspace or an external file?
0 Comments
Accepted Answer
Andreas Goser
on 23 Sep 2025 at 5:35
Yes, you can pass variables from a MATLAB app workspace directly to Simulink without using the MATLAB workspace or an external file. You can achieve this by using the Simulink.SimulationInput object to set parameters directly from your app's workspace.
4 Comments
Andreas Goser
on 23 Sep 2025 at 14:12
As I found a few technical articles around detail problems around compiling lookup tables, I conclude this is generally possible. But I am ot an expert for this. I am happy to connect you with MathWorks staff to help you further. Can you send me a personal message for further conversation if you are interested?
More Answers (0)
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!