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

2 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 20 Apr 2022
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.

More Answers (0)

Categories

Find more on Multicore Processor Targets in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!