Trigger Simulink Calculation from MATLAB script

3 views (last 30 days)
Hi Guys,
I am a systems integrator and i need to integrate a Simulink calculation with PI AF(Database). As of now, the database emits files in a specific csv format that are converted to a .mat file manually using a tool. I need to convert the csv file into a .mat file using a MATLAB script and I need to trigger the Simulink calculation as it is from
The block diagram in Simulink has got file blocks as input which read a specific file from the folder for the calculation. I want to write a script that takes in the csv file and generates a .mat file of the same name in the same folder(replicating the work of the tool). Once this is done, I need to trigger the Simulink calculation.
How can i achieve this is MATLAB ? I am completely new to MATLAB and Simulink and I have never worked on them before.
Thanks.

Answers (0)

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!