Simulink rtw constant values from .mat file
1 view (last 30 days)
Show older comments
I'm trying to speed up my calculation by runnig simulink natively/parallel on my PC.
My model includes some constants values(block Constant) included direcly from Matlab's workspace. They are parameters for simulation, so it cannot be stiff implemented into code, but they are constant during single simulation.
Is there any simple way to import them from i.e. .mat file in execution file? External mode do not work well because code is launched frequently. Parallelization from toolbox isn't also good because also cannot load this constants.
I will be very glad for any better solution than this: http://www.mathworks.com/help/rtw/examples/using-mat-files-to-feed-data-to-inport-blocks-for-rapid-simulations.html
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!