Modify or adding data in SimulationOutput
Hello,
my request is related to the Simulink results that are written in Simulink.SimulationOutput. Is there a possibility to modify it, add something etc. via Matlab code?
Background:
I’ve designed a WebApp in which I’ve integrated a Simulink model. I’ve used a template that is described here: Generate and Deploy a MATLAB App with SimAppTemplate for a Model – MATLAB & Simulink – MathWorks Deutschland
I’ve also integrated an FMU model (although this information is probably rather unimportant at this point). The overall model and app/webapp runs fine. The results of the simulation are written to app.SimulationHelper.InputOutput.SimulationOutput and processed further by the app. Everything works fine.
Challenge:
Is there a way to cache a previous simulation call (that works) and then write it back to the "SimulationOutput" workspace? Apparently this is write-protected and this is not possible without further ado.
The background is that I want to display (plot) several different simulation runs and compare them (e.g. if I have changed a parameter).
I would be grateful for your ideas.Hello,
my request is related to the Simulink results that are written in Simulink.SimulationOutput. Is there a possibility to modify it, add something etc. via Matlab code?
Background:
I’ve designed a WebApp in which I’ve integrated a Simulink model. I’ve used a template that is described here: Generate and Deploy a MATLAB App with SimAppTemplate for a Model – MATLAB & Simulink – MathWorks Deutschland
I’ve also integrated an FMU model (although this information is probably rather unimportant at this point). The overall model and app/webapp runs fine. The results of the simulation are written to app.SimulationHelper.InputOutput.SimulationOutput and processed further by the app. Everything works fine.
Challenge:
Is there a way to cache a previous simulation call (that works) and then write it back to the "SimulationOutput" workspace? Apparently this is write-protected and this is not possible without further ado.
The background is that I want to display (plot) several different simulation runs and compare them (e.g. if I have changed a parameter).
I would be grateful for your ideas. Hello,
my request is related to the Simulink results that are written in Simulink.SimulationOutput. Is there a possibility to modify it, add something etc. via Matlab code?
Background:
I’ve designed a WebApp in which I’ve integrated a Simulink model. I’ve used a template that is described here: Generate and Deploy a MATLAB App with SimAppTemplate for a Model – MATLAB & Simulink – MathWorks Deutschland
I’ve also integrated an FMU model (although this information is probably rather unimportant at this point). The overall model and app/webapp runs fine. The results of the simulation are written to app.SimulationHelper.InputOutput.SimulationOutput and processed further by the app. Everything works fine.
Challenge:
Is there a way to cache a previous simulation call (that works) and then write it back to the "SimulationOutput" workspace? Apparently this is write-protected and this is not possible without further ado.
The background is that I want to display (plot) several different simulation runs and compare them (e.g. if I have changed a parameter).
I would be grateful for your ideas. webapp, simulink, simulationoutput, modify MATLAB Answers — New Questions