export data from workspace to simulink

조회 수: 2 (최근 30일)
Ahmed Elgamal
Ahmed Elgamal 2022년 8월 22일
답변: vidyesh 2024년 9월 20일
i have array in workspace matlab 7*n
n is variable
i want to use every cell in constant matlab automatic to use it in postion control
such as every colum with constant then 7 constant
i want to export data in every colum in it'cosntant in simulink
and between row and second row want there are delay 3 sec
i tryied from work space didnt worked with me

답변 (1개)

vidyesh
vidyesh 2024년 9월 20일
Hi Ahmed
There are several ways to load this data for your simulation, and they are all documented here:
Based on your description I would recommend the below method:

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by