Grasshopper

algorithmic modeling for Rhino

Hi everyone, 

For now I am successful in letting matlab and grasshopper communicate to each other through the writing and reading of .csv files or .txt files. 

I now want to go a step further and introduce this in an optimisation algorithm, meaning many loops from matlab to grasshopper and back. 

Matlab is writing a .csv file that is read into grasshopper. The output in grasshopper is saved as a .txt file and used in matlab. The problem is that I have to put a pause after the csv writing in matlab, because else matlab goes to fast and can't get the correct output from grasshopper. 

Due to this pause, it slows down the process and the optimisation algorithm a lot.

Is this something to be fixed or is it just inherent to the gh-matlab interaction?

Thanks

Lara

 

Views: 904

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service