Hi,
To export the data from created scenario ,you can follow below steps:
1) Export the scenario to MATLAB function:
- Click on "Export" button on the top-right and click "MATLAB Function"
- It will open the MATLAB script related to created scenario.
2) Save the Data:
- At the end of the script , write the below code
- This will save the all variables in the script to MAT file.
3) Access the variables from MAT file:
- Load the MAT file.
- Access the "roadCenters" variable first column which gives 'x' and second column which gives 'y'
Now, you can pass these variables to "simin" function.
Hope this helps!