juliamatlab / mexjulia

embedding Julia in the MATLAB process.
MIT License
52 stars 14 forks source link

provide a sufficiently functional IO object so that STDIN can be redirected. #35

Closed twadleigh closed 5 years ago

twadleigh commented 7 years ago

This would be build around a call to the input MATLAB function, which maps directly onto readline.

Is there a way to create an object for buffered I/O such that a call to input would be triggered whenever a byte is desired but the buffer is empty?

twadleigh commented 7 years ago

691f558f97164649759b7b7fe1605c37f0c6208a added the input function, which would lie at the core of which this functionality.