Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Wavelength range in comsol 3.5

Please login with a confirmed email address before reporting spam

Dear Users,
I am new to comsol. I am using an old version of comsol i.e. 3.5.0.494. I am having a problem in the wavelength range. When i run the simulation for a single wavelength, i got the result. Then i tried it for a number of wavelengths, i received an error. The expression which i wrote for the wavelength rage is
range(400e-9,4e-8,600e-9)

and the error i got is
Expression could not be evaluated.
- Property name: Parameter values
- Expression: range(400e-9,4e-8,600e-9)

For those who used this version, please guide me how to correct it.

Thanks,
Best Regards,
Jack

4 Replies Last Post Oct 13, 2011, 5:05 a.m. EDT

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Oct 12, 2011, 7:11 a.m. EDT
n
n

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Oct 12, 2011, 7:27 a.m. EDT
sorry i haven't got your point
sorry i haven't got your point

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Oct 12, 2011, 8:23 a.m. EDT
Sorry I responded to the wrong posting. I actually have no idea about your issue.
Sorry I responded to the wrong posting. I actually have no idea about your issue.

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Oct 13, 2011, 5:05 a.m. EDT
Hi

check if in your "old" 3.5 its not "à la matlab" start:step:end instead of range(), I believe range() came only in 3.5a, but its all a bit old by now ;)

--
Good luck
Ivar
Hi check if in your "old" 3.5 its not "à la matlab" start:step:end instead of range(), I believe range() came only in 3.5a, but its all a bit old by now ;) -- Good luck Ivar

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.