I was practicing with the examples available on Lumerical website. For saving 2D data (the example on the scripting page) it was straight forward to extract to Matlab and plot. Now applying that to the silver slab example (Bloch Boundary Conditions)
In Lumerical I just added towards the end of the provided sweep script (matlabsave(“T_final.mat”, theta,f); I got a file saved.
Back in Matlab;
imagesc(theta,f,‘Transmission’); axis xy;
c.Label.String = ‘Normalized Transmission’;
I get in return a blank graph page with the following notice
Invalid datatype for Image CData. Numeric or logical matrix required for image CData.
Did I save it to start with wrong?? Or is something corrupted in my basic Matlab plotting code?