execute dos commend and read excel in simulink (reinforcement learning)

1 次查看(过去 30 天)
Hello everyone,
I'm trying to construct reinforcement learning using simulink
The structure of my reinforcement learning model ->
agent -> action(parameters) -> run model(dos commend) -> result -> (reward, observation, isdone) -> agent
Is there any function or example for running "dos commend" or read "excel" in simulink????
Thank you for help

采纳的回答

Walter Roberson
Walter Roberson 2022-4-20
You could potentially use a MATLAB Function block that used system() and readmatrix()
You might have to use coder.extern() for both of these. You would not be able to turn on rapid acceleration, and you would not be able to deploy to any devices.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environments 的更多信息

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by