How to run matlab and simulink in parrallel such that they dont effect each other speed
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Shafaq Gul
am 15 Nov. 2023
Kommentiert: Shafaq Gul
am 15 Nov. 2023
Hi, I have following concerns and need suggestion
Queiry: How to run matlab and simulink in parrallel such that one does not effect the speed of other.
Explanation: Want to capture data from plant model in simulink (a bunch of data), model running for infinity time (i.e is online) and then take the data for analysis in other code (Matlab .m file)
- tried 'to workplace' but it dilivers data to matlab when the simulink is paused or stopped, isn't for online purpose
- used 's function' in simulink but it slows down the whole simulation
- used 'get_param('block,'RuntimeObject') in matlab but the sample is available at instant only when this function is called and then changes.
Please can someone guide how to acheive this and which toolbox/command to use.
best regards
0 Kommentare
Akzeptierte Antwort
Johnny
am 15 Nov. 2023
Basically you need to log the signals, and then in the properties of the logged signal, enable the data access during run time and provide the MATLAB function for analysis.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!